pub enum Verdict {
Pass,
Fail,
ConfigError,
}Expand description
Outcome of a coverage-gate evaluation.
Maps onto the process exit code: Verdict::Pass is 0,
Verdict::Fail is 1, and Verdict::ConfigError is 2.
Variants§
Pass
Every gated package met its threshold.
Fail
At least one gated package fell below its threshold.
ConfigError
A configuration error prevented evaluation (for example, a gated package had no coverage data, or the lcov tracefile failed to parse).
Implementations§
Trait Implementations§
impl Copy for Verdict
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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