pub fn rename_no_replace(source: &Path, destination: &Path) -> Result<()>Expand description
Atomically move a file or directory without replacing any existing destination.
This never copies across volumes. The caller owns source admission and the containing-directory durability barrier after a successful namespace change.