Enum spdlog::error::EnvLevelError
source · pub enum EnvLevelError {
FetchEnvVar(VarError),
ParseEnvVar(String),
}
Expand description
The error type of environment level initialization.
Variants§
FetchEnvVar(VarError)
Fetch environment variable error.
ParseEnvVar(String)
Parse environment variable error, usually caused by incorrect format.
Trait Implementations§
source§impl Debug for EnvLevelError
impl Debug for EnvLevelError
source§impl Display for EnvLevelError
impl Display for EnvLevelError
source§impl Error for EnvLevelError
impl Error for EnvLevelError
1.30.0 · 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()
Auto Trait Implementations§
impl RefUnwindSafe for EnvLevelError
impl Send for EnvLevelError
impl Sync for EnvLevelError
impl Unpin for EnvLevelError
impl UnwindSafe for EnvLevelError
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