pub enum DebugLogSeverity {
Unknown,
Trace,
Debug,
Info,
Warn,
Error,
Fatal,
}
Expand description
The severity a kernel log message can have.
Variants§
Unknown
Record was written without a known severity.
Trace
Trace records include detailed information about program execution.
Debug
Debug records include development-facing information about program execution.
Info
Info records include general information about program execution. (default)
Warn
Warning records include information about potentially problematic operations.
Error
Error records include information about failed operations.
Fatal
Fatal records convey information about operations which cause a program’s termination.
Trait Implementations§
Source§impl Clone for DebugLogSeverity
impl Clone for DebugLogSeverity
Source§fn clone(&self) -> DebugLogSeverity
fn clone(&self) -> DebugLogSeverity
Returns a copy 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 DebugLogSeverity
impl Debug for DebugLogSeverity
Source§impl Ord for DebugLogSeverity
impl Ord for DebugLogSeverity
Source§fn cmp(&self, other: &DebugLogSeverity) -> Ordering
fn cmp(&self, other: &DebugLogSeverity) -> 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 DebugLogSeverity
impl PartialEq for DebugLogSeverity
Source§impl PartialOrd for DebugLogSeverity
impl PartialOrd for DebugLogSeverity
impl Copy for DebugLogSeverity
impl Eq for DebugLogSeverity
impl StructuralPartialEq for DebugLogSeverity
Auto Trait Implementations§
impl Freeze for DebugLogSeverity
impl RefUnwindSafe for DebugLogSeverity
impl Send for DebugLogSeverity
impl Sync for DebugLogSeverity
impl Unpin for DebugLogSeverity
impl UnwindSafe for DebugLogSeverity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)