Trait BatchCreate

Source
pub trait BatchCreate: Sealed {
    // Required method
    fn create<P: AsRef<Path>>(&mut self, path: P) -> Result<()>;
}
Expand description

Creates multiple placeholder file/directories within the given path.

Required Methods§

Source

fn create<P: AsRef<Path>>(&mut self, path: P) -> 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.

Implementations on Foreign Types§

Source§

impl BatchCreate for [PlaceholderFile]

Source§

fn create<P: AsRef<Path>>(&mut self, path: P) -> Result<()>

Implementors§