#[repr(i32)]pub enum Priority {
LOG_EMERG = 0,
LOG_ALERT = 1,
LOG_CRIT = 2,
LOG_ERR = 3,
LOG_WARNING = 4,
LOG_NOTICE = 5,
LOG_INFO = 6,
LOG_DEBUG = 7,
}Variants§
LOG_EMERG = 0
system is unusable
LOG_ALERT = 1
action must be taken immediately
LOG_CRIT = 2
critical conditions
LOG_ERR = 3
error conditions
LOG_WARNING = 4
warning conditions
LOG_NOTICE = 5
normal, but significant, condition
LOG_INFO = 6
informational message
LOG_DEBUG = 7
debug-level message
Trait Implementations§
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