[][src]Enum serde_gelf::GelfLevel

pub enum GelfLevel {
    Emergency,
    Alert,
    Critical,
    Error,
    Warning,
    Notice,
    Informational,
    Debugging,
}

An enum representing the record level which is equal to the standard syslog levels.

Variants

Emergency

The "Emergency" level.

System is unusable.

Alert

The "Alert" level.

Action must be taken immediately.

Critical

The "Critical" level.

Critical conditions such as Hard device, memory errors...

Error

The "Error" level.

Error conditions.

Warning

The "Warning" level.

Warning conditions.

Notice

The "Notice" level.

Normal but significant conditions. Conditions that are not error conditions, but that may require special handling.

Informational

The "Informational" level.

Informational messages.

Debugging

The "" level.

Debug-level messages. Messages that contain information normally of use only when debugging a program.

Trait Implementations

impl Clone for GelfLevel[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<Level> for GelfLevel[src]

impl<'_> From<&'_ GelfLevel> for Level[src]

impl From<u32> for GelfLevel[src]

impl From<GelfLevel> for String[src]

impl Copy for GelfLevel[src]

impl Default for GelfLevel[src]

Set the default level to GelfLevel::Alert.

impl PartialEq<GelfLevel> for GelfLevel[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl PartialOrd<GelfLevel> for GelfLevel[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for GelfLevel[src]

impl Serialize for GelfLevel[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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

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