pub fn atomic_write(path: &Path, content: &str) -> Result<()>
Atomically write UTF-8 content to path (temp file + rename).
path
See the module docs for the temp-name rationale (UUID suffix).