pub enum Tier {
Block,
Warn,
Clean,
}Expand description
The three derive tiers — drive exit codes (block=1, warn=2, clean=0) and the colour family, and map onto the universal ALLOW/WARN/DENY render bucket.
Variants§
Block
exit 1 — DENY. Customer must not install / must remove.
Warn
exit 2 — WARN. Review / upgrade (fail-closed for unknown).
Clean
exit 0 — ALLOW. No known issues.
Implementations§
Trait Implementations§
impl Copy for Tier
impl Eq for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Freeze for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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