pub fn rename<P, Q>(old_path: P, new_path: Q) -> Result<(), Errno> ⓘwhere P: Arg, Q: Arg,
dep_rustix
rename(old_path, new_path)—Renames a file or directory.
rename(old_path, new_path)