pub struct PendingHandle { /* private fields */ }Implementations§
Source§impl PendingHandle
impl PendingHandle
pub fn new() -> Self
pub fn cancellation_token(&self) -> CancellationToken
pub fn cancel(&self)
pub fn is_cancelled(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PendingHandle
impl RefUnwindSafe for PendingHandle
impl Send for PendingHandle
impl Sync for PendingHandle
impl Unpin for PendingHandle
impl UnsafeUnpin for PendingHandle
impl UnwindSafe for PendingHandle
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