Skip to main content

temp_dir

Function temp_dir 

Source
pub fn temp_dir() -> PathBuf
Expand description

The system’s temporary directory, the last resort when the environment names no place. The web has neither a file system nor a temporary directory (std::env::temp_dir panics there): a relative, empty path, where writes fail and are given up.