Enum fern::LogError [] [src]

pub enum LogError {
    Io(Error),
    Poison(String),
}

Error that may occur within logging

Variants

Io(Error)

IO Error

Poison(String)

Poison error - this will only occur within fern logger implementations if write!() panics.

Trait Implementations

impl Debug for LogError
[src]

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

Formats the value using the given formatter.

impl From<Error> for LogError
[src]

fn from(error: Error) -> LogError

Performs the conversion.

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

fn from(error: PoisonError<T>) -> LogError

Performs the conversion.

impl Error for LogError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more

impl Display for LogError
[src]

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

Formats the value using the given formatter.