Crate cap_tempfile
source ·Expand description
Capability-based temporary directories and files.
Re-exports§
pub use cap_std;
Structs§
- Instances of this
AmbientAuthoritytype serve to indicate that theambient_authorityfunction has been called, indicating that the user has explicitly opted into using ambient authority. - A directory in a filesystem that is automatically deleted when it goes out of scope.
- A file in a directory that is by default deleted when it goes out of scope, but may also be written persistently.
Functions§
- Return an
AmbientAuthorityvalue, which allows use of functions that include anAmbientAuthorityargument. - Create a new temporary directory.
- Create a new temporary directory.