pub enum Cause<'a> {
Red(&'a EvalId),
Error(&'a EvalId),
SiblingRed(&'a EvalId),
SiblingError(&'a EvalId),
}Expand description
The failed eval at the root of a block: a RED verdict, or in a Run that treats
operational failures as blockers (--speculate), an ERROR. A Human eval is also blocked
by a RED or ERROR machine eval of its own Artifact, its sibling.
Variants§
Implementations§
Trait Implementations§
impl<'a> Copy for Cause<'a>
impl<'a> Eq for Cause<'a>
Source§impl<'a> Ord for Cause<'a>
impl<'a> Ord for Cause<'a>
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<'a> PartialOrd for Cause<'a>
impl<'a> PartialOrd for Cause<'a>
impl<'a> StructuralPartialEq for Cause<'a>
Auto Trait Implementations§
impl<'a> Freeze for Cause<'a>
impl<'a> RefUnwindSafe for Cause<'a>
impl<'a> Send for Cause<'a>
impl<'a> Sync for Cause<'a>
impl<'a> Unpin for Cause<'a>
impl<'a> UnsafeUnpin for Cause<'a>
impl<'a> UnwindSafe for Cause<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.