pub struct NetworkAutoStop { /* private fields */ }
Expand description
Stop the associated NetworkRunner
and thread if dropped
If trying to stop the FoundationDB run loop results in an error.
The error is printed in stderr
and the process aborts.
§Panics
Panics if the network thread cannot be joined.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetworkAutoStop
impl !RefUnwindSafe for NetworkAutoStop
impl Send for NetworkAutoStop
impl Sync for NetworkAutoStop
impl Unpin for NetworkAutoStop
impl !UnwindSafe for NetworkAutoStop
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