pub enum EnvSettingsError {
Convert(&'static str, String, &'static str),
File(String, Box<dyn Error>),
NotExists(&'static str),
}
Expand description
The error that may occurs during EnvSettings
resolution
Variants§
Convert(&'static str, String, &'static str)
Error raised when a convertion fails
File(String, Box<dyn Error>)
Error raised when environment variables resolution from a file fails
NotExists(&'static str)
Error raised when an environment variable not exists
Trait Implementations§
source§impl Debug for EnvSettingsError
impl Debug for EnvSettingsError
Auto Trait Implementations§
impl !RefUnwindSafe for EnvSettingsError
impl !Send for EnvSettingsError
impl !Sync for EnvSettingsError
impl Unpin for EnvSettingsError
impl !UnwindSafe for EnvSettingsError
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