pub struct StopToken(/* private fields */);Expand description
Cloneable token corresponding to a StopGuard. Can be used to check whether the guard is dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StopToken
impl RefUnwindSafe for StopToken
impl Send for StopToken
impl Sync for StopToken
impl Unpin for StopToken
impl UnsafeUnpin for StopToken
impl UnwindSafe for StopToken
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