Temporary files and directories

Function mkdtemp

fn mkdtemp(tmpdir: &Path, suffix: &str) -> Option<Path>

Attempts to make a temporary directory inside of tmpdir whose name will have the suffix suffix. If no directory can be created, None is returned.