Function tempfile_fast::persistable_tempfile_in [] [src]

pub fn persistable_tempfile_in<P: AsRef<Path>>(
    dir: P
) -> Result<PersistableTempFile>

Create a temporary file in a given filesystem, or, if the filesystem does not support creating secure temporary files, create a tempfile::NamedTemporaryFile.