pub struct Stop { /* private fields */ }Expand description
A one-way switch from running to stopping, shared by every clone.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Stop
impl !UnwindSafe for Stop
impl Freeze for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnsafeUnpin for Stop
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