pub enum Severity {
EMERGENCY = 0,
ALERT = 1,
CRITICAL = 2,
ERROR = 3,
WARNING = 4,
NOTICE = 5,
INFO = 6,
DEBUG = 7,
}
Expand description
Severities as defined in RFC 3164/5424
Variants§
EMERGENCY = 0
Emergency: system is unusable
ALERT = 1
Alert: action must be taken immediately
CRITICAL = 2
Critical: critical conditions
ERROR = 3
Error: error conditions
WARNING = 4
Warning: warning conditions
NOTICE = 5
Notice: normal but significant condition
INFO = 6
Informational: informational messages
DEBUG = 7
Debug: debug-level messages
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Severity
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnwindSafe for Severity
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