#[repr(u8)]pub enum LoggerLevel {
Error = 0,
Info = 1,
Warn = 2,
Debug = 3,
}Expand description
Numeric exporter threshold, matching Cordis ordering.
Variants§
Error = 0
Error only.
Info = 1
Errors and info.
Warn = 2
Errors, info, and warnings.
Debug = 3
Every built-in level.
Trait Implementations§
Source§impl Clone for LoggerLevel
impl Clone for LoggerLevel
Source§fn clone(&self) -> LoggerLevel
fn clone(&self) -> LoggerLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LoggerLevel
Source§impl Debug for LoggerLevel
impl Debug for LoggerLevel
impl Eq for LoggerLevel
Source§impl Hash for LoggerLevel
impl Hash for LoggerLevel
Source§impl Ord for LoggerLevel
impl Ord for LoggerLevel
Source§fn cmp(&self, other: &LoggerLevel) -> Ordering
fn cmp(&self, other: &LoggerLevel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LoggerLevel
impl PartialEq for LoggerLevel
Source§impl PartialOrd for LoggerLevel
impl PartialOrd for LoggerLevel
impl StructuralPartialEq for LoggerLevel
Auto Trait Implementations§
impl Freeze for LoggerLevel
impl RefUnwindSafe for LoggerLevel
impl Send for LoggerLevel
impl Sync for LoggerLevel
impl Unpin for LoggerLevel
impl UnsafeUnpin for LoggerLevel
impl UnwindSafe for LoggerLevel
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