Skip to main content

rename

Function rename 

Source
pub fn rename(
    from: impl AsRef<Path>,
    from_fd: Option<Borrowed<'_>>,
    to: impl AsRef<Path>,
    to_fd: Option<Borrowed<'_>>,
) -> Result<()>
Expand description

https://pubs.opengroup.org/onlinepubs/9799919799/functions/rename.html