#[repr(i32)]pub enum LogPriority {
UNKNOWN = 0,
DEFAULT = 1,
VERBOSE = 2,
DEBUG = 3,
INFO = 4,
WARN = 5,
ERROR = 6,
FATAL = 7,
SILENT = 8,
}
Expand description
Priority of the log message.
Variants§
UNKNOWN = 0
For internal use only.
DEFAULT = 1
The default priority, for internal use only.
VERBOSE = 2
Verbose logging.
DEBUG = 3
Debug logging.
INFO = 4
Informational logging.
WARN = 5
Warning logging.
For use with recoverable failures.
ERROR = 6
Error logging.
For use with unrecoverable failures.
FATAL = 7
Fatal logging.
For use when aborting.
SILENT = 8
For internal use only.
Trait Implementations§
Source§impl Clone for LogPriority
impl Clone for LogPriority
Source§fn clone(&self) -> LogPriority
fn clone(&self) -> LogPriority
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 LogPriority
impl Debug for LogPriority
Source§impl PartialEq for LogPriority
impl PartialEq for LogPriority
impl Copy for LogPriority
impl Eq for LogPriority
impl StructuralPartialEq for LogPriority
Auto Trait Implementations§
impl Freeze for LogPriority
impl RefUnwindSafe for LogPriority
impl Send for LogPriority
impl Sync for LogPriority
impl Unpin for LogPriority
impl UnwindSafe for LogPriority
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