pub fn tempdir_in(dir: &Dir) -> Result<TempDir>
Create a new temporary directory.
This corresponds to tempfile::tempdir_in.
tempfile::tempdir_in