pub enum GateStatus {
Pass,
Warn,
Fail,
Skipped,
}Expand description
What a gate concluded on this run.
The status has four values, not two. A verdict can have a warn tier that does not fail the run, and a gate can stand down without a pass. A change from a boolean to a wider type later would change the type of a required member and the version of each envelope that carries it.
Variants§
Pass
The gate ran and its condition did not hold.
Warn
The gate ran and reached a warn tier that does not fail the run. Only a gate with a warn tier reports this value.
Fail
The gate ran and its condition held.
Skipped
The gate could not judge this run and stood down on purpose. For
example, the run was told never to fail, or a different gate decides
the run. This is not pass: pass says that the gate evaluated the
condition and the condition did not hold.
Trait Implementations§
Source§impl Clone for GateStatus
impl Clone for GateStatus
impl Copy for GateStatus
Source§impl Debug for GateStatus
impl Debug for GateStatus
impl Eq for GateStatus
Source§impl PartialEq for GateStatus
impl PartialEq for GateStatus
Source§impl Serialize for GateStatus
impl Serialize for GateStatus
impl StructuralPartialEq for GateStatus
Auto Trait Implementations§
impl Freeze for GateStatus
impl RefUnwindSafe for GateStatus
impl Send for GateStatus
impl Sync for GateStatus
impl Unpin for GateStatus
impl UnsafeUnpin for GateStatus
impl UnwindSafe for GateStatus
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