[][src]Enum iml_wire_types::LogSeverity

#[repr(u8)]pub enum LogSeverity {
    Emergency,
    Alert,
    Critical,
    Error,
    Warning,
    Notice,
    Informational,
    Debug,
}

Severities from syslog protocol

CodeSeverity
0Emergency: system is unusable
1Alert: action must be taken immediately
2Critical: critical conditions
3Error: error conditions
4Warning: warning conditions
5Notice: normal but significant condition
6Informational: informational messages
7Debug: debug-level messages

Variants

Emergency
Alert
Critical
Error
Warning
Notice
Informational
Debug

Trait Implementations

impl Clone for LogSeverity[src]

impl Copy for LogSeverity[src]

impl Debug for LogSeverity[src]

impl<'de> Deserialize<'de> for LogSeverity[src]

impl Eq for LogSeverity[src]

impl Ord for LogSeverity[src]

impl PartialEq<LogSeverity> for LogSeverity[src]

impl PartialOrd<LogSeverity> for LogSeverity[src]

impl Serialize for LogSeverity[src]

impl StructuralEq for LogSeverity[src]

impl StructuralPartialEq for LogSeverity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToBytes for T where
    T: Serialize
[src]

impl<T> ToJsonValue for T where
    T: Serialize
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.