Expand description
Capability-based temporary directories and files.
Re-exports§
pub use cap_std;
Structs§
- Ambient
Authority - Instances of this
AmbientAuthority
type serve to indicate that theambient_authority
function has been called, indicating that the user has explicitly opted into using ambient authority. - TempDir
- A directory in a filesystem that is automatically deleted when it goes out of scope.
- Temp
File - A file in a directory that is by default deleted when it goes out of scope, but may also be written persistently.
Functions§
- ambient_
authority - Return an
AmbientAuthority
value, which allows use of functions that include anAmbientAuthority
argument. - tempdir
- Create a new temporary directory.
- tempdir_
in - Create a new temporary directory.