#[non_exhaustive]#[repr(i32)]pub enum LoggerLevel {
Off = 0,
Error = 1,
PerformanceTrace = 2,
PerformanceHints = 3,
HeuristicsTrace = 4,
ApiTrace = 5,
}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.
Implementations§
Trait Implementations§
Source§impl Clone for LoggerLevel
impl Clone for LoggerLevel
Source§fn clone(&self) -> LoggerLevel
fn clone(&self) -> LoggerLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LoggerLevel
Source§impl Debug for LoggerLevel
impl Debug for LoggerLevel
impl Eq for LoggerLevel
Source§impl Hash for LoggerLevel
impl Hash for LoggerLevel
Source§impl PartialEq for LoggerLevel
impl PartialEq for LoggerLevel
Source§fn eq(&self, other: &LoggerLevel) -> bool
fn eq(&self, other: &LoggerLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoggerLevel
Auto Trait Implementations§
impl Freeze for LoggerLevel
impl RefUnwindSafe for LoggerLevel
impl Send for LoggerLevel
impl Sync for LoggerLevel
impl Unpin for LoggerLevel
impl UnsafeUnpin for LoggerLevel
impl UnwindSafe for LoggerLevel
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