pub enum AlertLevel {
Info,
Warning,
Critical,
}Expand description
Alert severity level.
Variants§
Info
Informational — metric approaching threshold.
Warning
Warning — metric will likely cross threshold soon.
Critical
Critical — metric predicted to cross danger threshold.
Implementations§
Trait Implementations§
Source§impl Clone for AlertLevel
impl Clone for AlertLevel
impl Copy for AlertLevel
Source§impl Debug for AlertLevel
impl Debug for AlertLevel
Source§impl<'de> Deserialize<'de> for AlertLevel
impl<'de> Deserialize<'de> for AlertLevel
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 Eq for AlertLevel
Source§impl PartialEq for AlertLevel
impl PartialEq for AlertLevel
Source§impl Serialize for AlertLevel
impl Serialize for AlertLevel
impl StructuralPartialEq for AlertLevel
Auto Trait Implementations§
impl Freeze for AlertLevel
impl RefUnwindSafe for AlertLevel
impl Send for AlertLevel
impl Sync for AlertLevel
impl Unpin for AlertLevel
impl UnsafeUnpin for AlertLevel
impl UnwindSafe for AlertLevel
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