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 Debug for TermLogError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for TermLogError
[src]
impl Display for TermLogError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for TermLogError
[src]
impl Error for TermLogError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<SetLoggerError> for TermLogError
[src]
impl From<SetLoggerError> for TermLogError
fn from(error: SetLoggerError) -> Self
[src]
fn from(error: SetLoggerError) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for TermLogError
impl Send for TermLogError
impl Sync for TermLogError
impl Sync for TermLogError