pub struct CancelHandle { /* private fields */ }
Expand description
CancelHandle is used to pass to io actions with CancelableAsyncReadRent. Create a CancelHandle with Canceller::handle.
Trait Implementations§
Source§impl Clone for CancelHandle
impl Clone for CancelHandle
Source§fn clone(&self) -> CancelHandle
fn clone(&self) -> CancelHandle
Returns a duplicate 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