Trait vfs::directory::entry::DirectoryEntryAsync

source ·
pub trait DirectoryEntryAsync: DirectoryEntry {
    // Required method
    fn open_entry_async(
        self: Arc<Self>,
        request: OpenRequest<'_>,
    ) -> impl Future<Output = Result<(), Status>> + Send;
}
Expand description

Trait that can be implemented to process open requests asynchronously.

Required Methods§

source

fn open_entry_async( self: Arc<Self>, request: OpenRequest<'_>, ) -> impl Future<Output = Result<(), Status>> + Send

Implementers may use this if desired by using the spawn method below.

Object Safety§

This trait is not object safe.

Implementors§