#[repr(C)]pub enum LogLevel {
Critical = 0,
Error = 1,
Warning = 2,
Debug = 3,
Info = 4,
Devel = 5,
}Variants§
Critical = 0
These messages stop the program
Error = 1
Everything that is really bad, but not so bad we need to shut down
Warning = 2
Everything that might be bad
Debug = 3
Output that might help find a problem
Info = 4
Informational output, like “starting database version x.y.z”
Devel = 5
Developer only output (will not be displayed in release mode)
Trait Implementations§
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