[][src]Function dirs_next::runtime_dir

pub fn runtime_dir() -> Option<PathBuf>

Returns the path to the user's runtime directory.

The returned value depends on the operating system and is either a Some, containing a value from the following table, or a None.

PlatformValueExample
Linux$XDG_RUNTIME_DIR/run/user/1001/
macOS
Windows