pub enum EnvFileError {
EnvVarError(VarError),
Io(Error),
}
Expand description
Main error type for this crate
Variants§
EnvVarError(VarError)
Error happened while working with environment
Io(Error)
Error happened while performing I/O
Trait Implementations§
Source§impl Debug for EnvFileError
impl Debug for EnvFileError
Source§impl Display for EnvFileError
impl Display for EnvFileError
Source§impl Error for EnvFileError
impl Error for EnvFileError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl From<Error> for EnvFileError
impl From<Error> for EnvFileError
Source§fn from(err: Error) -> EnvFileError
fn from(err: Error) -> EnvFileError
Converts to this type from the input type.
Source§impl From<VarError> for EnvFileError
impl From<VarError> for EnvFileError
Source§fn from(err: VarError) -> EnvFileError
fn from(err: VarError) -> EnvFileError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EnvFileError
impl !RefUnwindSafe for EnvFileError
impl Send for EnvFileError
impl Sync for EnvFileError
impl Unpin for EnvFileError
impl !UnwindSafe for EnvFileError
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