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§
sourcefn 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 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
.
fn drop(&mut self, rep: Resource<DirectoryEntryStream>) -> Result<()>
Implementations on Foreign Types§
source§impl<_T: HostDirectoryEntryStream + ?Sized + Send> HostDirectoryEntryStream for &mut _T
impl<_T: HostDirectoryEntryStream + ?Sized + Send> HostDirectoryEntryStream for &mut _T
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,
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
.