Enum slog::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    Format(ErrorKind),
    Io,
    SendError,
    LockError,
    FailoverExhausted,
}

Variants

Msg(String)Format(ErrorKind)IoSendErrorLockErrorFailoverExhausted

Methods

impl ErrorKind

fn description(&self) -> &str

Trait Implementations

impl Debug for ErrorKind

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ErrorKind

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<ErrorKind> for ErrorKind

fn from(e: ErrorKind) -> Self

Performs the conversion.

impl<'a> From<&'a str> for ErrorKind

fn from(s: &'a str) -> Self

Performs the conversion.

impl From<String> for ErrorKind

fn from(s: String) -> Self

Performs the conversion.