FloppyDirBuilder

Trait FloppyDirBuilder 

Source
pub trait FloppyDirBuilder:
    Debug
    + Unpin
    + Send {
    // Required methods
    fn recursive(&mut self, recursive: bool) -> &mut Self;
    fn create<'life0, 'async_trait, P>(
        &'life0 self,
        path: P,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where P: 'async_trait + AsRef<Path> + Send,
             Self: 'async_trait,
             'life0: 'async_trait;
    fn mode(&mut self, mode: u32) -> &mut Self;
}

Required Methods§

Source

fn recursive(&mut self, recursive: bool) -> &mut Self

Source

fn create<'life0, 'async_trait, P>( &'life0 self, path: P, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where P: 'async_trait + AsRef<Path> + Send, Self: 'async_trait, 'life0: 'async_trait,

Source

fn mode(&mut self, mode: u32) -> &mut Self

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§