Crate tempfile_fast [−] [src]
You probably want to use the tempfile
crate unless you have
hit a known performance problem, or you only care about modern
Linux. See README.md
for more details.
Example
extern crate tempfile_fast; let mut temp = tempfile_fast::persistable_tempfile_in("/var/lib/foo").unwrap(); temp.write_all(b"hello").unwrap(); temp.persist_noclobber("/var/lib/foo/bar").unwrap();
Functions
persistable_tempfile_in |
Create a temporary file in a given filesystem, or, if the filesystem does not support
creating secure temporary files, create a |