Struct futures_ext::future::ControlledHandle
source · pub struct ControlledHandle(/* private fields */);
Expand description
A handle that can abort the spawned task that it is associated with aborted. The underlying task also gets aborted when there are no more handles referencing it.
Trait Implementations§
source§impl Clone for ControlledHandle
impl Clone for ControlledHandle
source§fn clone(&self) -> ControlledHandle
fn clone(&self) -> ControlledHandle
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 !RefUnwindSafe for ControlledHandle
impl Send for ControlledHandle
impl Sync for ControlledHandle
impl Unpin for ControlledHandle
impl !UnwindSafe for ControlledHandle
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