#[non_exhaustive]#[repr(u8)]pub enum MdfLogSeverity {
kTrace = 0,
kDebug = 1,
kInfo = 2,
kNotice = 3,
kWarning = 4,
kError = 5,
kCritical = 6,
kAlert = 7,
kEmergency = 8,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
kTrace = 0
kDebug = 1
kInfo = 2
kNotice = 3
kWarning = 4
kError = 5
kCritical = 6
kAlert = 7
kEmergency = 8
Trait Implementations§
Source§impl Clone for MdfLogSeverity
impl Clone for MdfLogSeverity
Source§fn clone(&self) -> MdfLogSeverity
fn clone(&self) -> MdfLogSeverity
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 MdfLogSeverity
impl Debug for MdfLogSeverity
Source§impl Hash for MdfLogSeverity
impl Hash for MdfLogSeverity
Source§impl Ord for MdfLogSeverity
impl Ord for MdfLogSeverity
Source§fn cmp(&self, other: &MdfLogSeverity) -> Ordering
fn cmp(&self, other: &MdfLogSeverity) -> 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 MdfLogSeverity
impl PartialEq for MdfLogSeverity
Source§impl PartialOrd for MdfLogSeverity
impl PartialOrd for MdfLogSeverity
impl Copy for MdfLogSeverity
impl Eq for MdfLogSeverity
impl StructuralPartialEq for MdfLogSeverity
Auto Trait Implementations§
impl Freeze for MdfLogSeverity
impl RefUnwindSafe for MdfLogSeverity
impl Send for MdfLogSeverity
impl Sync for MdfLogSeverity
impl Unpin for MdfLogSeverity
impl UnsafeUnpin for MdfLogSeverity
impl UnwindSafe for MdfLogSeverity
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