Skip to main content

get_env

Function get_env 

Source
pub fn get_env(var: &str) -> Option<OsString>
Expand description

Gets environment variable value safely.

Returns None if the variable is not set.