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§
Sourcefn open_entry_async(
self: Arc<Self>,
request: OpenRequest<'_>,
) -> impl Future<Output = Result<(), Status>> + Send
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.
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.