pub enum LogLevel {
Trace,
Debug,
Info,
Warn,
Error,
}
Expand description
Determines the severity of a log message.
Variants§
Trace
Describes messages about the values of variables and the flow of control within a program.
Debug
Describes messages likely to be of interest to someone debugging a program.
Info
Describes messages likely to be of interest to someone monitoring a program.
Warn
Describes messages indicating hazardous situations.
Error
Describes messages indicating serious errors.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogLevel
impl<'de> Deserialize<'de> for LogLevel
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
Source§impl ExportType for LogLevel
impl ExportType for LogLevel
Source§const TYPE: StaticExportedType
const TYPE: StaticExportedType
The type descriptor.
Source§impl Ord for LogLevel
impl Ord for LogLevel
Source§impl PartialOrd for LogLevel
impl PartialOrd for LogLevel
impl Copy for LogLevel
impl Eq for LogLevel
impl StructuralPartialEq for LogLevel
Auto Trait Implementations§
impl Freeze for LogLevel
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
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