pub struct CancelGuard { /* private fields */ }Expand description
Dropping the guard cancels the associated token.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CancelGuard
impl RefUnwindSafe for CancelGuard
impl Send for CancelGuard
impl Sync for CancelGuard
impl Unpin for CancelGuard
impl UnsafeUnpin for CancelGuard
impl UnwindSafe for CancelGuard
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