pub enum Gating {
ReportOnly,
NoneReached(Severity),
Blocked,
}Expand description
What a run’s threshold did to its findings.
Variants§
ReportOnly
No threshold: findings are reported and nothing blocks.
NoneReached(Severity)
A threshold was in force and no finding reached it.
Blocked
A threshold was in force and at least one finding reached it.
Trait Implementations§
impl Copy for Gating
impl Eq for Gating
impl StructuralPartialEq for Gating
Auto Trait Implementations§
impl Freeze for Gating
impl RefUnwindSafe for Gating
impl Send for Gating
impl Sync for Gating
impl Unpin for Gating
impl UnsafeUnpin for Gating
impl UnwindSafe for Gating
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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.