read_env

Function read_env 

Source
pub fn read_env(env_name: &str) -> Result<String, VarError>
Expand description

Get a value of the given environment variable. If the given environment variable doesn’t exist, env::VarError will be returned.