pub enum LogLevel {
Fatal,
Error,
Warn,
Info,
Debug,
}Variants§
Implementations§
Source§impl LogLevel
impl LogLevel
const fn defs(&self) -> [&'static str; 4]
const fn pfx_simple_first(&self) -> &'static str
const fn pfx_simple_other(&self) -> &'static str
const fn pfx_colored_first(&self) -> &'static str
const fn pfx_colored_other(&self) -> &'static str
Trait Implementations§
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