Struct dipstick::CancelHandle
source · pub struct CancelHandle(_);
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 more