Skip to main content

FsRename

Trait FsRename 

Source
pub trait FsRename: BaseFsRename {
    // Provided method
    fn fs_rename(
        &self,
        from: impl AsRef<Path>,
        to: impl AsRef<Path>,
    ) -> Result<()> { ... }
}

Provided Methods§

Source

fn fs_rename(&self, from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§