pub enum RiskTier {
Low,
Medium,
High,
Critical,
}Expand description
Risk tier assigned to an agent or policy, in ascending severity order.
PartialOrd / Ord reflect severity: Low < Medium < High < Critical.
Variants§
Low
Log-only enforcement; no blocking.
Medium
Block-and-optionally-approve enforcement.
High
Always block; human review mandatory.
Critical
Immediate kill + incident escalation.
Implementations§
Trait Implementations§
impl Copy for RiskTier
impl Eq for RiskTier
Source§impl Ord for RiskTier
impl Ord for RiskTier
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
Source§impl PartialOrd for RiskTier
impl PartialOrd for RiskTier
impl StructuralPartialEq for RiskTier
Auto Trait Implementations§
impl Freeze for RiskTier
impl RefUnwindSafe for RiskTier
impl Send for RiskTier
impl Sync for RiskTier
impl Unpin for RiskTier
impl UnsafeUnpin for RiskTier
impl UnwindSafe for RiskTier
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> 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§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.