#[repr(u32)]pub enum UnitLogLevel {
Trace = 0,
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
Critical = 5,
Disabled = 6,
}Expand description
Minimum log level for the unit test host. Messages below this level are suppressed.
Variants§
Trace = 0
Debug = 1
Info = 2
Warn = 3
Error = 4
Critical = 5
Disabled = 6
Suppresses all log output.
Trait Implementations§
Source§impl Clone for UnitLogLevel
impl Clone for UnitLogLevel
Source§fn clone(&self) -> UnitLogLevel
fn clone(&self) -> UnitLogLevel
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 UnitLogLevel
Source§impl Debug for UnitLogLevel
impl Debug for UnitLogLevel
Source§impl Default for UnitLogLevel
impl Default for UnitLogLevel
Source§fn default() -> UnitLogLevel
fn default() -> UnitLogLevel
Returns the “default value” for a type. Read more
impl Eq for UnitLogLevel
Source§impl PartialEq for UnitLogLevel
impl PartialEq for UnitLogLevel
Source§fn eq(&self, other: &UnitLogLevel) -> bool
fn eq(&self, other: &UnitLogLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnitLogLevel
Auto Trait Implementations§
impl Freeze for UnitLogLevel
impl RefUnwindSafe for UnitLogLevel
impl Send for UnitLogLevel
impl Sync for UnitLogLevel
impl Unpin for UnitLogLevel
impl UnsafeUnpin for UnitLogLevel
impl UnwindSafe for UnitLogLevel
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