pub trait DictionaryKeysIteratorServerHandler<___T: Transport = Channel> {
// Required method
fn get_next(
&mut self,
sender: &ServerSender<DictionaryKeysIterator, ___T>,
responder: Responder<GetNext>,
) -> impl Future<Output = ()> + Send;
// Provided method
fn on_unknown_interaction(
&mut self,
sender: &ServerSender<DictionaryKeysIterator, ___T>,
ordinal: u64,
) -> impl Future<Output = ()> + Send { ... }
}
Expand description
A server handler for the DictionaryKeysIterator protocol.
See DictionaryKeysIterator
for more details.
Required Methods§
fn get_next( &mut self, sender: &ServerSender<DictionaryKeysIterator, ___T>, responder: Responder<GetNext>, ) -> impl Future<Output = ()> + Send
Provided Methods§
fn on_unknown_interaction( &mut self, sender: &ServerSender<DictionaryKeysIterator, ___T>, ordinal: u64, ) -> impl Future<Output = ()> + Send
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.