pub struct AbortHandle { /* private fields */ }Expand description
Cloneable cancellation for one local request. Wakes a pending poll and drops its connection/response stream. It does not confirm remote cancellation.
Implementations§
Source§impl AbortHandle
impl AbortHandle
Sourcepub fn is_aborted(&self) -> bool
pub fn is_aborted(&self) -> bool
Whether cancellation was requested.
Trait Implementations§
Source§impl Clone for AbortHandle
impl Clone for AbortHandle
Source§impl Debug for AbortHandle
impl Debug for AbortHandle
Auto Trait Implementations§
impl !RefUnwindSafe for AbortHandle
impl !UnwindSafe for AbortHandle
impl Freeze for AbortHandle
impl Send for AbortHandle
impl Sync for AbortHandle
impl Unpin for AbortHandle
impl UnsafeUnpin for AbortHandle
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