Enum syslog_rfc5424::SyslogSeverity
source · [−]pub enum SyslogSeverity {
SEV_EMERG,
SEV_ALERT,
SEV_CRIT,
SEV_ERR,
SEV_WARNING,
SEV_NOTICE,
SEV_INFO,
SEV_DEBUG,
}
Expand description
Syslog Severities from RFC 5424.
Variants
SEV_EMERG
SEV_ALERT
SEV_CRIT
SEV_ERR
SEV_WARNING
SEV_NOTICE
SEV_INFO
SEV_DEBUG
Implementations
sourceimpl SyslogSeverity
impl SyslogSeverity
Trait Implementations
sourceimpl Clone for SyslogSeverity
impl Clone for SyslogSeverity
sourcefn clone(&self) -> SyslogSeverity
fn clone(&self) -> SyslogSeverity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SyslogSeverity
impl Debug for SyslogSeverity
sourceimpl Ord for SyslogSeverity
impl Ord for SyslogSeverity
sourceimpl PartialEq<SyslogSeverity> for SyslogSeverity
impl PartialEq<SyslogSeverity> for SyslogSeverity
sourceimpl PartialOrd<SyslogSeverity> for SyslogSeverity
impl PartialOrd<SyslogSeverity> for SyslogSeverity
sourcefn partial_cmp(&self, other: &SyslogSeverity) -> Option<Ordering>
fn partial_cmp(&self, other: &SyslogSeverity) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for SyslogSeverity
impl Serialize for SyslogSeverity
sourceimpl TryFrom<i32> for SyslogSeverity
impl TryFrom<i32> for SyslogSeverity
impl Copy for SyslogSeverity
impl Eq for SyslogSeverity
impl StructuralEq for SyslogSeverity
impl StructuralPartialEq for SyslogSeverity
Auto Trait Implementations
impl RefUnwindSafe for SyslogSeverity
impl Send for SyslogSeverity
impl Sync for SyslogSeverity
impl Unpin for SyslogSeverity
impl UnwindSafe for SyslogSeverity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more