pub enum InitError {
Deserializing(AppenderErrors),
BuildConfig(ConfigErrors),
SetLogger(SetLoggerError),
}
Expand description
Errors found when initializing.
Variants§
Deserializing(AppenderErrors)
There was an error deserializing.
BuildConfig(ConfigErrors)
There was an error building the handle.
SetLogger(SetLoggerError)
There was an error setting the global logger.
Trait Implementations§
source§impl Error for InitError
impl Error for InitError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ConfigErrors> for InitError
impl From<ConfigErrors> for InitError
source§fn from(source: ConfigErrors) -> Self
fn from(source: ConfigErrors) -> Self
Converts to this type from the input type.
source§impl From<SetLoggerError> for InitError
impl From<SetLoggerError> for InitError
source§fn from(source: SetLoggerError) -> Self
fn from(source: SetLoggerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for InitError
impl Send for InitError
impl Sync for InitError
impl Unpin for InitError
impl UnwindSafe for InitError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more