Expand description
Temporary files and directories.
See crate ::tempfile
.
Modules§
Structs§
- Create a new temporary file or directory with custom parameters.
- A named temporary file.
- Error returned when persisting a temporary file path fails.
- Error returned when persisting a temporary file fails.
- An object that behaves like a regular temporary file, but keeps data in memory until it reaches a configured size, at which point the data is written to a temporary file on disk, and further operations use the file on disk.
- A directory in the filesystem that is automatically deleted when it goes out of scope.
- A path to a named temporary file without an open file handle.
Enums§
- A wrapper for the two states of a
SpooledTempFile
.
Functions§
- Create a new spooled temporary file.
- Create a new temporary directory.
- Create a new temporary directory in a specific directory.
- Create a new temporary file.
- Create a new temporary file in the specified directory.