pub struct Cancellation(/* private fields */);Expand description
A cooperative cancellation signal. Cancellation does not acknowledge physical settlement.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Cancellation
impl !Send for Cancellation
impl !Sync for Cancellation
impl !UnwindSafe for Cancellation
impl Forget for Cancellation
impl Freeze for Cancellation
impl Move for Cancellation
impl Unpin for Cancellation
impl UnsafeUnpin for Cancellation
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