Enum flexi_logger::FlexiLoggerError [−][src]
Describes errors in the initialization of flexi_logger
.
Variants
Log file cannot be written because the specified path is not a directory.
OutputCleanupThread(Error)
Spawning the cleanup thread failed.
This error can safely be avoided with Logger::cleanup_in_background_thread(false)
.
OutputIo(Error)
Log cannot be written, e.g. because the configured output directory is not accessible.
LevelFilter(String)
Invalid level filter.
Parse(String, LogSpecification)
Failed to parse log specification.
Log(SetLoggerError)
Logger initialization failed.
Some synchronization object is poisoned.
Palette(ParseIntError)
Palette parsing failed
Trait Implementations
impl Debug for FlexiLoggerError
[src]
impl Display for FlexiLoggerError
[src]
impl Error for FlexiLoggerError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for FlexiLoggerError
[src]
impl From<ParseIntError> for FlexiLoggerError
[src]
fn from(source: ParseIntError) -> Self
[src]
impl From<SetLoggerError> for FlexiLoggerError
[src]
fn from(source: SetLoggerError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for FlexiLoggerError
impl Send for FlexiLoggerError
impl Sync for FlexiLoggerError
impl Unpin for FlexiLoggerError
impl !UnwindSafe for FlexiLoggerError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,