Function envoption::get
[−]
[src]
pub fn get<T>(var_name: &str,
mode: OptionType<T>)
-> Result<Option<T>, EnvOptionError<T::Err>> where T: FromStr + Debug, T::Err: Error
Get an environment variable, using the given mode to determine behavior when it is not set.