Expand description
§deep_causality_tempfile
Scratch files and directories under std::env::temp_dir(), removed on drop. The crate
depends only on std.
TempDir: a new, empty directory, removed with its contents on drop.NamedTempFile: a new, empty file, written throughstd::io::Writeand removed on drop.NamedTempFile::with_suffixgives the name an extension such as".csv".
Structs§
- Named
Temp File - A new, empty regular file under
std::env::temp_dir(), open for writing and removed on drop. - TempDir
- A new, empty directory under
std::env::temp_dir(), removed with its contents on drop.