pub enum FailureCause {
Evaluation {
fingerprint: String,
},
Interrupted,
Execution {
category: ExecutionFailureCategory,
fingerprint: String,
},
}Expand description
Normalized primary cause of a failed run.
Variants§
Evaluation
A completed run failed evaluation.
Interrupted
A run suspended before completion.
Execution
A normalized executor error.
Fields
§
category: ExecutionFailureCategoryActionable error family.
Trait Implementations§
Source§impl Clone for FailureCause
impl Clone for FailureCause
Source§fn clone(&self) -> FailureCause
fn clone(&self) -> FailureCause
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 FailureCause
impl Debug for FailureCause
impl Eq for FailureCause
Source§impl Ord for FailureCause
impl Ord for FailureCause
Source§fn cmp(&self, other: &FailureCause) -> Ordering
fn cmp(&self, other: &FailureCause) -> 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 FailureCause
impl PartialEq for FailureCause
Source§impl PartialOrd for FailureCause
impl PartialOrd for FailureCause
Source§impl Serialize for FailureCause
impl Serialize for FailureCause
impl StructuralPartialEq for FailureCause
Auto Trait Implementations§
impl Freeze for FailureCause
impl RefUnwindSafe for FailureCause
impl Send for FailureCause
impl Sync for FailureCause
impl Unpin for FailureCause
impl UnsafeUnpin for FailureCause
impl UnwindSafe for FailureCause
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