Structs§
- Spooled
Temp File  - 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.
 
Enums§
- Spooled
Data  - A wrapper for the two states of a 
SpooledTempFile. Either: 
Functions§
- cursor_
to_ 🔒tempfile  - Write a cursor into a temporary file, returning the temporary file.
 - spooled_
tempfile  - Create a new 
SpooledTempFile. Also seespooled_tempfile_in. - spooled_
tempfile_ in  - Construct a new 
SpooledTempFile, backed by a file in the specified directory. Use this when, e.g., you need the temporary file to be backed by a specific filesystem (e.g., when your default temporary directory is in-memory). Also seespooled_tempfile.