[][src]Enum failure_ext::SlogKVErrorKey

pub enum SlogKVErrorKey {
    Error,
    RootCause,
    Backtrace,
    Cause,
    ErrorDebug,
}

Enum used in slog::Serializer implementation when SlogKVError is used

Variants

Error

The error that is being logged

RootCause

Root cause of the chain of errors

Backtrace

Backtrace taken when error occured

Cause

One of causes in a chain of errors

ErrorDebug

The error that is being logged, but in debug format

Implementations

impl SlogKVErrorKey[src]

pub fn into_str(self) -> &'static str[src]

Return string representations of enum values

Trait Implementations

impl Clone for SlogKVErrorKey[src]

impl Debug for SlogKVErrorKey[src]

impl Eq for SlogKVErrorKey[src]

impl FromStr for SlogKVErrorKey[src]

type Err = ()

The associated error which can be returned from parsing.

impl PartialEq<SlogKVErrorKey> for SlogKVErrorKey[src]

impl StructuralEq for SlogKVErrorKey[src]

impl StructuralPartialEq for SlogKVErrorKey[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> From<T> for T[src]

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

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[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.