Function rename

Source
pub fn rename<P, Q>(from: P, to: Q) -> Result<(), FileError>
where P: AsRef<Path>, Q: AsRef<Path>,