pub trait DirBuilder {
// Required methods
fn create(self, path: &str, filetype: FileType) -> Self;
fn remove(self, path: &str) -> Self;
fn path(&self, path: &str) -> PathBuf;
fn root(&self) -> &Path;
}
Expand description
File structure builder trait
Required Methods§
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.