pub trait DirBuilder: Debug {
// Required methods
fn recursive(&mut self, recursive: bool) -> &mut Self;
fn create<P: AsRef<Path>>(&self, path: P) -> Result<()>;
}Expand description
A builder used to create directories.
This trait replaces std::fs::DirBuilder with the exception of its new function. To create
a new DirBuilder, use GenFS::new_dirbuilder.
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.