pub trait NamespaceFileSystem: FileSystem {
// Required methods
fn remove_one(&mut self, path: &Path, recursive: bool) -> VfResult<()>;
fn rename_one(&mut self, from: &Path, to: &Path) -> VfResult<()>;
}Expand description
Namespace mutations shared by files and directories.
Required Methods§
fn remove_one(&mut self, path: &Path, recursive: bool) -> VfResult<()>
fn rename_one(&mut self, from: &Path, to: &Path) -> VfResult<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".