pub struct ModuleStopHandle { /* private fields */ }Expand description
A cooperative stop signal that can be created before connecting to the daemon.
Clones share the same, irreversible stop request. Await the serving future
after calling stop; dropping it does not perform teardown.
Implementations§
Trait Implementations§
Source§impl Clone for ModuleStopHandle
impl Clone for ModuleStopHandle
Source§impl Debug for ModuleStopHandle
impl Debug for ModuleStopHandle
Auto Trait Implementations§
impl Forget for ModuleStopHandle
impl Freeze for ModuleStopHandle
impl Move for ModuleStopHandle
impl RefUnwindSafe for ModuleStopHandle
impl Send for ModuleStopHandle
impl Sync for ModuleStopHandle
impl Unpin for ModuleStopHandle
impl UnsafeUnpin for ModuleStopHandle
impl UnwindSafe for ModuleStopHandle
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