Enum envoption::EnvOptionError
[−]
[src]
pub enum EnvOptionError<T> where
T: Error, { ParseError(String, T), Missing(String), }
Variants
ParseError(String, T)
An error occurred while parsing the environment variable.
This error contains the T::Err type from the parse
function.
Missing(String)
The environment variable was missing.
Trait Implementations
impl<T: Debug> Debug for EnvOptionError<T> where
T: Error,
[src]
T: Error,
impl<T: PartialEq> PartialEq for EnvOptionError<T> where
T: Error,
[src]
T: Error,
fn eq(&self, __arg_0: &EnvOptionError<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnvOptionError<T>) -> bool
This method tests for !=
.
impl<T> Display for EnvOptionError<T> where
T: Error,
[src]
T: Error,
impl<T> Error for EnvOptionError<T> where
T: Error,
[src]
T: Error,