pub struct TaskHandle(/* private fields */);Expand description
Wrapper around AbortHandle which aborts Future on Drop.
Trait Implementations§
Source§impl Debug for TaskHandle
impl Debug for TaskHandle
Source§impl Drop for TaskHandle
impl Drop for TaskHandle
Source§impl From<AbortHandle> for TaskHandle
impl From<AbortHandle> for TaskHandle
Source§fn from(value: AbortHandle) -> Self
fn from(value: AbortHandle) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TaskHandle
impl !RefUnwindSafe for TaskHandle
impl Send for TaskHandle
impl Sync for TaskHandle
impl Unpin for TaskHandle
impl !UnwindSafe for TaskHandle
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