pub trait HostDirectoryEntryStream {
    // Required methods
    fn read_directory_entry<'life0, 'async_trait>(
        &'life0 mut self,
        self_: Resource<DirectoryEntryStream>
    ) -> Pin<Box<dyn Future<Output = Result<Option<DirectoryEntry>, FsError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn drop(&mut self, rep: Resource<DirectoryEntryStream>) -> Result<()>;
}

Required Methods§

source

fn read_directory_entry<'life0, 'async_trait>( &'life0 mut self, self_: Resource<DirectoryEntryStream> ) -> Pin<Box<dyn Future<Output = Result<Option<DirectoryEntry>, FsError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Read a single directory entry from a directory-entry-stream.

source

fn drop(&mut self, rep: Resource<DirectoryEntryStream>) -> Result<()>

Implementors§