QueryableServerHandler

Trait QueryableServerHandler 

Source
pub trait QueryableServerHandler<___T: Transport = Channel> {
    // Required method
    fn query(
        &mut self,
        responder: Responder<Query, ___T>,
    ) -> impl Future<Output = ()> + Send;
}
Expand description

A server handler for the Queryable protocol.

See Queryable for more details.

Required Methods§

Source

fn query( &mut self, responder: Responder<Query, ___T>, ) -> 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.

Implementors§