pub enum Severity {
Trace,
Debug,
Info,
Warn,
Error,
Fatal,
}Expand description
Log message severity levels.
These levels follow standard logging conventions, ordered from most verbose to most critical.
Variants§
Trace
The “trace” level.
Designates very low priority, often extremely verbose, information.
Debug
The “debug” level.
Designates lower priority information.
Info
The “info” level.
Designates useful information.
Warn
The “warn” level.
Designates hazardous situations.
Error
The “error” level.
Designates very serious errors.
Fatal
The “fatal” level.
Designates critical failures that might crash the program.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Severity
impl<'de> Deserialize<'de> for Severity
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 Severity
impl Eq 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 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