#[repr(i32)]pub enum LogPriority {
Emergency = 0,
Alert = 1,
Critical = 2,
Error = 3,
Warning = 4,
Notice = 5,
Info = 6,
Debug = 7,
}Variants§
Emergency = 0
System is untenable
Alert = 1
Action must be taken immediately
Critical = 2
Critical conditions
Error = 3
Error conditions
Warning = 4
Warning conditions
Notice = 5
Normal but significant condition
Info = 6
Informational
Debug = 7
Debug-level messages
Implementations§
Source§impl LogPriority
impl LogPriority
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new LogPriority.
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 Default for LogPriority
impl Default for LogPriority
Source§fn default() -> LogPriority
fn default() -> LogPriority
Returns the “default value” for a type. Read more
Source§impl Display for LogPriority
impl Display for LogPriority
Source§impl From<&LogPriority> for &'static str
impl From<&LogPriority> for &'static str
Source§fn from(val: &LogPriority) -> Self
fn from(val: &LogPriority) -> Self
Converts to this type from the input type.
Source§impl From<&LogPriority> for i32
impl From<&LogPriority> for i32
Source§fn from(val: &LogPriority) -> Self
fn from(val: &LogPriority) -> Self
Converts to this type from the input type.
Source§impl From<LogPriority> for &'static str
impl From<LogPriority> for &'static str
Source§fn from(val: LogPriority) -> Self
fn from(val: LogPriority) -> Self
Converts to this type from the input type.
Source§impl From<LogPriority> for i32
impl From<LogPriority> for i32
Source§fn from(val: LogPriority) -> Self
fn from(val: LogPriority) -> Self
Converts to this type from the input type.
Source§impl From<i32> for LogPriority
impl From<i32> for LogPriority
Source§impl PartialEq for LogPriority
impl PartialEq for LogPriority
Source§impl PartialOrd for LogPriority
impl PartialOrd for LogPriority
impl Copy 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