#[repr(u8)]pub enum Priority {
Emergency = 0,
Alert = 1,
Critical = 2,
Error = 3,
Warning = 4,
Notice = 5,
Info = 6,
Debug = 7,
}Expand description
Trait for checking the type of a file descriptor. Log priority values.
See man 3 syslog.
Variants§
Emergency = 0
System is unusable.
Alert = 1
Action must be taken immediately.
Critical = 2
Critical condition,
Error = 3
Error condition.
Warning = 4
Warning condition.
Notice = 5
Normal, but significant, condition.
Info = 6
Informational message.
Debug = 7
Debug message.
Trait Implementations§
impl Copy 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