#[repr(u16)]pub enum Level {
Debug = 100,
Info = 200,
Notice = 250,
Warning = 300,
Error = 400,
Critical = 500,
Alert = 550,
Emergency = 600,
}Variants§
Debug = 100
Info = 200
Notice = 250
Warning = 300
Error = 400
Critical = 500
Alert = 550
Emergency = 600
Implementations§
Trait Implementations§
Source§impl IntoLevel for Level
impl IntoLevel for Level
fn into_level(self) -> Result<Level, LoggerError>
Source§impl Ord for Level
impl Ord for Level
Source§impl PartialOrd for Level
impl PartialOrd for Level
Source§impl TryFrom<u16> for Level
impl TryFrom<u16> for Level
Source§type Error = LoggerError
type Error = LoggerError
The type returned in the event of a conversion error.
impl Copy for Level
impl Eq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations§
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
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