pub enum SyslogSeverity {
Emergency = 0,
Alert = 1,
Critical = 2,
Error = 3,
Warning = 4,
Notice = 5,
Info = 6,
Debug = 7,
}Available on crate feature
syslog_writer only.Expand description
Syslog severity.
See RFC 5424.
Variants§
Emergency = 0
System is unusable.
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 messages.
Debug = 7
Debug-level messages.
Trait Implementations§
Source§impl Clone for SyslogSeverity
impl Clone for SyslogSeverity
impl Copy for SyslogSeverity
Auto Trait Implementations§
impl Forget for SyslogSeverity
impl Freeze for SyslogSeverity
impl Move for SyslogSeverity
impl RefUnwindSafe for SyslogSeverity
impl Send for SyslogSeverity
impl Sync for SyslogSeverity
impl Unpin for SyslogSeverity
impl UnsafeUnpin for SyslogSeverity
impl UnwindSafe for SyslogSeverity
Blanket Implementations§
Source§impl<T> AsAny for Twhere
T: Any,
impl<T> AsAny for Twhere
T: Any,
Source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Cast into
&dyn Any.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