#[repr(usize)]pub enum Level {
Trace = 0,
Debug = 536_870_912,
Info = 1_073_741_824,
Warn = 1_610_612_736,
Error = 2_147_483_648,
Trap = 2_684_354_560,
Mask = 3_758_096_384,
}Expand description
Log level, pretty much copied from
log::Level.
Variants§
Trace = 0
The “trace” level.
Designates very low priority, often extremely verbose, information.
Debug = 536_870_912
The “debug” level.
Designates lower priority information.
Info = 1_073_741_824
The “info” level.
Designates useful information.
Warn = 1_610_612_736
The “warn” level.
Designates hazardous situations.
Error = 2_147_483_648
The “error” level.
Designates very serious errors.
Trap = 2_684_354_560
The “trap” level.
Trigger a trap without panicking.
Mask = 3_758_096_384
Bit Mask.
Trait Implementations§
impl Copy 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 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