Skip to main content

QueryableLocalServerHandler

Trait QueryableLocalServerHandler 

Source
pub trait QueryableLocalServerHandler<___T = Channel>
where ___T: Transport,
{ // Required method fn query( &mut self, responder: Responder<Query, ___T>, ) -> impl Future<Output = ()>; }
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 = ()>

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> QueryableLocalServerHandler<___T> for Local<___H>
where ___H: QueryableServerHandler<___T>, ___T: Transport,

Source§

async fn query(&mut self, responder: Responder<Query, ___T>)

Implementors§