pub struct PromiseAborted;Expand description
Best-effort success hint from AbortHandle::abort.
An abort request appears to be live, so a still-pending promise is expected
to reject with TaskFailure::Aborted on its
next poll. Like all of
AbortHandle::abort’s output, this is advisory
rather than authoritative under concurrent settlement.
Trait Implementations§
Source§impl Clone for PromiseAborted
impl Clone for PromiseAborted
Source§fn clone(&self) -> PromiseAborted
fn clone(&self) -> PromiseAborted
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 moreimpl Copy for PromiseAborted
Source§impl Debug for PromiseAborted
impl Debug for PromiseAborted
Source§impl Default for PromiseAborted
impl Default for PromiseAborted
Source§fn default() -> PromiseAborted
fn default() -> PromiseAborted
Returns the “default value” for a type. Read more
impl Eq for PromiseAborted
Source§impl Hash for PromiseAborted
impl Hash for PromiseAborted
Source§impl Ord for PromiseAborted
impl Ord for PromiseAborted
Source§fn cmp(&self, other: &PromiseAborted) -> Ordering
fn cmp(&self, other: &PromiseAborted) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PromiseAborted
impl PartialEq for PromiseAborted
Source§fn eq(&self, other: &PromiseAborted) -> bool
fn eq(&self, other: &PromiseAborted) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PromiseAborted
impl PartialOrd for PromiseAborted
impl StructuralPartialEq for PromiseAborted
Auto Trait Implementations§
impl Freeze for PromiseAborted
impl RefUnwindSafe for PromiseAborted
impl Send for PromiseAborted
impl Sync for PromiseAborted
impl Unpin for PromiseAborted
impl UnsafeUnpin for PromiseAborted
impl UnwindSafe for PromiseAborted
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