pub enum RiskBand {
Low,
Medium,
High,
Unknown,
}Expand description
Risk band for a blast-radius entry.
Variants§
Low
Low caller fan-in / traffic-weighted reach.
Medium
Moderate caller fan-in / traffic-weighted reach.
High
High caller fan-in / traffic-weighted reach.
Unknown
Sentinel for forward-compatibility with newer producers that add
risk bands (e.g. Critical, Negligible) the current consumer
has not seen yet. Older consumers map the unknown variant here
rather than failing deserialization. Added in protocol 0.7.0.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RiskBand
impl<'de> Deserialize<'de> for RiskBand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for RiskBand
impl Eq for RiskBand
impl StructuralPartialEq for RiskBand
Auto Trait Implementations§
impl Freeze for RiskBand
impl RefUnwindSafe for RiskBand
impl Send for RiskBand
impl Sync for RiskBand
impl Unpin for RiskBand
impl UnsafeUnpin for RiskBand
impl UnwindSafe for RiskBand
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