Function std::os::wasi::fs::rename    [−][src]
pub fn rename<P: AsRef<Path>, U: AsRef<Path>>(
    old_fd: &File, 
    old_path: P, 
    new_fd: &File, 
    new_path: U
) -> Result<()>This is supported on WASI only.
Expand description
Rename a file or directory.
This corresponds to the path_rename syscall.