Enum simplelog::TermLogError
[−]
[src]
pub enum TermLogError { SetLogger(SetLoggerError), Term, }
TermLogger error type.
Variants
SetLogger(SetLoggerError)
The type returned by set_logger if set_logger has already been called.
Term
TermLogger initialization might also fail if stdout or stderr could not be opened,
e.g. when no tty is attached to the process, it runs detached in the background, etc
This is represented by the Term
Kind
Trait Implementations
impl Debug for TermLogError
[src]
impl Display for TermLogError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for TermLogError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<SetLoggerError> for TermLogError
[src]
fn from(error: SetLoggerError) -> Self
[src]
Performs the conversion.