pub struct Canceller(/* private fields */);Expand description
Stops a generation from another thread or task.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Canceller
impl Freeze for Canceller
impl Move for Canceller
impl RefUnwindSafe for Canceller
impl Send for Canceller
impl Sync for Canceller
impl Unpin for Canceller
impl UnsafeUnpin for Canceller
impl UnwindSafe for Canceller
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