pub enum Severity {
Trace = 8,
Debug = 7,
Informational = 6,
Notice = 5,
Warning = 4,
Error = 3,
Critical = 2,
Alert = 1,
Emergency = 0,
}
Variants§
Trace = 8
Debug = 7
Informational = 6
Notice = 5
Warning = 4
Error = 3
Critical = 2
Alert = 1
Emergency = 0
Implementations§
Trait Implementations§
Source§impl From<Level> for Severity
impl From<Level> for Severity
Source§fn from(t: TracingLevel) -> Self
fn from(t: TracingLevel) -> Self
Converts to this type from the input type.
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 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