Function get_os

Source
pub fn get_os<T: AsRef<OsStr>>(name: T) -> Option<OsString>
Available on crate feature env only.
Expand description

Gets the content of an environment variable.

Returns None if the variable does not exist.