pub enum DebugLevel {
Off,
Error,
Warn,
Info,
Debug,
Trace,
}Expand description
Verbosity level for kernel debugging output.
Variants§
Off
No debug output.
Error
Only errors.
Warn
Errors and warnings.
Info
Errors, warnings, and informational messages.
Debug
Verbose debugging output.
Trace
Maximum verbosity — every detail is logged.
Trait Implementations§
Source§impl Clone for DebugLevel
impl Clone for DebugLevel
Source§fn clone(&self) -> DebugLevel
fn clone(&self) -> DebugLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DebugLevel
impl Debug for DebugLevel
Source§impl Default for DebugLevel
impl Default for DebugLevel
Source§fn default() -> DebugLevel
fn default() -> DebugLevel
Returns the “default value” for a type. Read more
Source§impl Display for DebugLevel
impl Display for DebugLevel
Source§impl Hash for DebugLevel
impl Hash for DebugLevel
Source§impl Ord for DebugLevel
impl Ord for DebugLevel
Source§fn cmp(&self, other: &DebugLevel) -> Ordering
fn cmp(&self, other: &DebugLevel) -> Ordering
1.21.0 · 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 DebugLevel
impl PartialEq for DebugLevel
Source§impl PartialOrd for DebugLevel
impl PartialOrd for DebugLevel
impl Copy for DebugLevel
impl Eq for DebugLevel
impl StructuralPartialEq for DebugLevel
Auto Trait Implementations§
impl Freeze for DebugLevel
impl RefUnwindSafe for DebugLevel
impl Send for DebugLevel
impl Sync for DebugLevel
impl Unpin for DebugLevel
impl UnsafeUnpin for DebugLevel
impl UnwindSafe for DebugLevel
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