pub struct NetworkWait { /* private fields */ }
Expand description
A condition object that can wait for the associated NetworkRunner
to actually run.
Most of the time you should never need to use this directly and use boot()
.
Implementations§
Source§impl NetworkWait
impl NetworkWait
Sourcepub fn wait(self) -> NetworkStop
pub fn wait(self) -> NetworkStop
Wait for the associated NetworkRunner
to actually run.
§Panics
Panics if the internal lock cannot is poisoned
Auto Trait Implementations§
impl Freeze for NetworkWait
impl RefUnwindSafe for NetworkWait
impl Send for NetworkWait
impl Sync for NetworkWait
impl Unpin for NetworkWait
impl UnwindSafe for NetworkWait
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more