pub enum LogLevel {
Fatal,
Error,
Warn,
Info,
Debug,
Verbose,
Invalid(u8),
}
Expand description
Representation of log levels used in DLT log messages
Variants
Fatal
Error
Warn
Info
Debug
Verbose
Invalid(u8)
Trait Implementations
sourceimpl PartialOrd<LogLevel> for LogLevel
impl PartialOrd<LogLevel> for LogLevel
sourcefn partial_cmp(&self, other: &LogLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &LogLevel) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for LogLevel
impl StructuralPartialEq for LogLevel
Auto Trait Implementations
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more