pub enum Priority {
Unknown = 0,
Default = 1,
Verbose = 2,
Debug = 3,
Info = 4,
Warn = 5,
Error = 6,
Fatal = 7,
Silent = 8,
PrioMax = 9,
}Expand description
Enumeration for log priority values in ascending priority order.
Variants§
Unknown = 0
Default = 1
Verbose = 2
Debug = 3
Info = 4
Warn = 5
Error = 6
Fatal = 7
Silent = 8
PrioMax = 9
Trait Implementations§
Source§impl From<log_priority> for Priority
impl From<log_priority> for Priority
Source§fn from(c_enum: log_priority) -> Self
fn from(c_enum: log_priority) -> Self
Converts to this type from the input type.
Source§impl Ord for Priority
impl Ord for Priority
Source§impl PartialOrd for Priority
impl PartialOrd for Priority
impl Copy for Priority
impl Eq for Priority
impl StructuralPartialEq for Priority
Auto Trait Implementations§
impl Freeze for Priority
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
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