pub fn temp_dir() -> Option<PathBuf>Expand description
The system’s shared temporary directory ($TMPDIR or /tmp,
%TEMP%), and None where there is no native file system (the web),
where std::env::temp_dir panics instead. For scratch files that must
have a native path; an app’s own scratch space is AppPaths::runtime.