Skip to main content

DictionaryKeysIteratorLocalServerHandler

Trait DictionaryKeysIteratorLocalServerHandler 

Source
pub trait DictionaryKeysIteratorLocalServerHandler<___T: Transport = Channel> {
    // Required method
    fn get_next(
        &mut self,
        responder: Responder<GetNext, ___T>,
    ) -> impl Future<Output = ()>;

    // Provided method
    fn on_unknown_interaction(
        &mut self,
        ordinal: u64,
    ) -> impl Future<Output = ()> { ... }
}
Expand description

A server handler for the DictionaryKeysIterator protocol.

See DictionaryKeysIterator for more details.

Required Methods§

Source

fn get_next( &mut self, responder: Responder<GetNext, ___T>, ) -> impl Future<Output = ()>

Provided Methods§

Source

fn on_unknown_interaction(&mut self, ordinal: u64) -> impl Future<Output = ()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<___H, ___T> DictionaryKeysIteratorLocalServerHandler<___T> for Local<___H>
where ___H: DictionaryKeysIteratorServerHandler<___T>, ___T: Transport,

Source§

async fn get_next(&mut self, responder: Responder<GetNext, ___T>)

Source§

async fn on_unknown_interaction(&mut self, ordinal: u64)

Implementors§