Trait GetFilesInDirectory

Source
pub trait GetFilesInDirectory {
    // Required method
    fn get_files_in_dir<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        dir_name: &'life1 str,
        extension: &'life2 str,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<PathBuf>, CrateError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

Source

fn get_files_in_dir<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, dir_name: &'life1 str, extension: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<PathBuf>, CrateError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§