Enum spdlog::error::EnvLevelError
source · Expand description
The error type of environment level initialization.
Variants
FetchEnvVar(VarError)
Fetch environment variable error.
ParseEnvVar(String)
Tuple Fields
0: String
Parse error description
Parse environment variable error, usually caused by incorrect format.
Trait Implementations
sourceimpl Debug for EnvLevelError
impl Debug for EnvLevelError
sourceimpl Display for EnvLevelError
impl Display for EnvLevelError
sourceimpl Error for EnvLevelError
impl Error for EnvLevelError
1.30.0 · sourcefn 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 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more