pub struct CancellationError { /* private fields */ }Expand description
Cancellation observed at the runtime boundary.
Implementations§
Trait Implementations§
Source§impl Clone for CancellationError
impl Clone for CancellationError
Source§fn clone(&self) -> CancellationError
fn clone(&self) -> CancellationError
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 CancellationError
impl Debug for CancellationError
Source§impl Display for CancellationError
impl Display for CancellationError
Source§impl Error for CancellationError
impl Error for CancellationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<CancellationError> for PureflowError
impl From<CancellationError> for PureflowError
Source§fn from(value: CancellationError) -> Self
fn from(value: CancellationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CancellationError
impl PartialEq for CancellationError
Source§fn eq(&self, other: &CancellationError) -> bool
fn eq(&self, other: &CancellationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CancellationError
impl StructuralPartialEq for CancellationError
Auto Trait Implementations§
impl Freeze for CancellationError
impl RefUnwindSafe for CancellationError
impl Send for CancellationError
impl Sync for CancellationError
impl Unpin for CancellationError
impl UnsafeUnpin for CancellationError
impl UnwindSafe for CancellationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).