cap_tempfile

Function tempdir

Source
pub fn tempdir(ambient_authority: AmbientAuthority) -> Result<TempDir>
Expand description

Create a new temporary directory.

This corresponds to tempfile::tempdir.

ยงAmbient Authority

This function makes use of ambient authority to access temporary directories.