Crate tempfile_fast
source ·Expand description
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::PersistableTempFile::new_in("/var/lib/foo").unwrap();
temp.write_all(b"hello").unwrap();
temp.persist_noclobber("/var/lib/foo/bar").unwrap();
Enums
An abstraction over different platform-specific temporary file optimisations.