Enum zx::DebugLogSeverity
source · 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§fn eq(&self, other: &DebugLogSeverity) -> bool
fn eq(&self, other: &DebugLogSeverity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DebugLogSeverity
impl PartialOrd for DebugLogSeverity
source§fn partial_cmp(&self, other: &DebugLogSeverity) -> Option<Ordering>
fn partial_cmp(&self, other: &DebugLogSeverity) -> Option<Ordering>
1.0.0 · source§fn 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 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)