Enum fern::InitError [] [src]

pub enum InitError {
    Io(Error),
    SetLoggerError(SetLoggerError),
}

Error that may occur within init_global_logger()

Variants

Io(Error)

IO Error - this will only occur within fern logger implementations when opening files

SetLoggerError(SetLoggerError)

SetLoggerError - this occurs if the log crate has already been initialized when init_global_logger() is called.

Trait Implementations

impl Debug for InitError
[src]

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

Formats the value using the given formatter.

impl From<Error> for InitError
[src]

fn from(error: Error) -> InitError

Performs the conversion.

impl From<SetLoggerError> for InitError
[src]

fn from(error: SetLoggerError) -> InitError

Performs the conversion.

impl Display for InitError
[src]

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

Formats the value using the given formatter.

impl Error for InitError
[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