#[repr(u8)]pub enum Severity {
Emerg = 0,
Alert = 1,
Crit = 2,
Err = 3,
Warning = 4,
Notice = 5,
Info = 6,
Debug = 7,
}Expand description
The severity of the message
Variants§
Emerg = 0
System is unusable. For example: a panic condition.
Alert = 1
Action must be taken immediately. For example: A condition that should be corrected immediately, such as a corrupted system database.
Crit = 2
Critical conditions For example: Hard device errors
Err = 3
Error conditions.
Warning = 4
Warning conditions.
Notice = 5
Normal but significant condition. For example: Conditions that are not error conditions, but that may require special handling.
Info = 6
Informational messages. For example: Confirmation that the program is working as expected.
Debug = 7
Debug-level messages. For example: Messages that contain information normally of use only when debugging a program.
Trait Implementations§
impl Copy for Severity
Auto Trait Implementations§
impl Freeze for Severity
impl RefUnwindSafe for Severity
impl Send for Severity
impl Sync for Severity
impl Unpin for Severity
impl UnwindSafe for Severity
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