pub fn path_from_env(key: &str) -> Option<PathBuf>
Returns an environment variable’s value as a PathBuf.
PathBuf