devela::_dep::rustix::fs

Function rename

pub fn rename<P, Q>(old_path: P, new_path: Q) -> Result<(), Errno> 
where P: Arg, Q: Arg,
Available on crate feature dep_rustix only.
Expand description

rename(old_path, new_path)—Renames a file or directory.

§References