Function xdg::get_runtime_dir [-] [+] [src]

pub fn get_runtime_dir() -> Option<PathBuf>

Get $XDG_RUNTIME_DIR if found in the environment.

Returns None if $XDG_RUNTIME_DIR is not set, in which case it is up to the application to fallback to a location that conforms to the specification.