#[non_exhaustive]pub enum RunFailureError {
CancellationRequiresCancellationPath,
}Expand description
Invalid failure supplied to the ordinary failed terminal state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CancellationRequiresCancellationPath
A cancellation failure attempted to skip cancellation intent.
Trait Implementations§
Source§impl Clone for RunFailureError
impl Clone for RunFailureError
Source§impl Debug for RunFailureError
impl Debug for RunFailureError
Source§impl Display for RunFailureError
impl Display for RunFailureError
impl Eq for RunFailureError
Source§impl Error for RunFailureError
impl Error for RunFailureError
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 PartialEq for RunFailureError
impl PartialEq for RunFailureError
impl StructuralPartialEq for RunFailureError
Auto Trait Implementations§
impl Forget for RunFailureError
impl Freeze for RunFailureError
impl Move for RunFailureError
impl RefUnwindSafe for RunFailureError
impl Send for RunFailureError
impl Sync for RunFailureError
impl Unpin for RunFailureError
impl UnsafeUnpin for RunFailureError
impl UnwindSafe for RunFailureError
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