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