Trait StorageIteratorServerHandler

Source
pub trait StorageIteratorServerHandler<___T: Transport = Channel> {
    // Required method
    fn next(
        &mut self,
        sender: &ServerSender<StorageIterator, ___T>,
        responder: Responder<Next>,
    ) -> impl Future<Output = ()> + Send;
}
Expand description

A server handler for the StorageIterator protocol.

See StorageIterator for more details.

Required Methods§

Source

fn next( &mut self, sender: &ServerSender<StorageIterator, ___T>, responder: Responder<Next>, ) -> impl Future<Output = ()> + Send

Retrieve the next set of components using the storage capability. The returned monikers are relative to the component that declares the storage capability. Returns an empty vector after all components have been returned.

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.

Implementors§