#[repr(u8)]pub enum Severity {
Debug = 1,
Verbose = 2,
Info = 3,
Warning = 4,
Error = 5,
Critical = 6,
}Expand description
Severity level
Variants§
Debug = 1
The most verbose level, aka Trace
Verbose = 2
Verbose logging
Info = 3
Information level: warnings plus major events
Warning = 4
all errors and warnings, and no informational messages
Error = 5
errors only
Critical = 6
critical errors only
Trait Implementations§
Source§impl PartialOrd for Severity
impl PartialOrd for Severity
impl StructuralPartialEq for Severity
Auto Trait Implementations§
impl Freeze for Severity
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnsafeUnpin 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