pub struct AbortHandle { /* private fields */ }Available on crate feature
client only.Expand description
Cloneable cancellation for one local run. 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§fn clone(&self) -> AbortHandle
fn clone(&self) -> AbortHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AbortHandle
impl Debug for AbortHandle
Source§impl Default for AbortHandle
impl Default for AbortHandle
Source§fn default() -> AbortHandle
fn default() -> AbortHandle
Returns the “default value” for a type. Read more
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