Struct dipstick::CancelHandle
source · pub struct CancelHandle(/* private fields */);
Expand description
A handle to cancel a scheduled task if required.
Trait Implementations§
source§impl Cancel for CancelHandle
impl Cancel for CancelHandle
source§fn into_guard(self) -> CancelGuard<Self>where
Self: Sized,
fn into_guard(self) -> CancelGuard<Self>where
Self: Sized,
Create a guard that cancels when it is dropped.
source§impl Clone for CancelHandle
impl Clone for CancelHandle
source§fn clone(&self) -> CancelHandle
fn clone(&self) -> CancelHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CancelHandle
impl RefUnwindSafe for CancelHandle
impl Send for CancelHandle
impl Sync for CancelHandle
impl Unpin for CancelHandle
impl UnwindSafe for CancelHandle
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