Skip to main content

EchoLocalClientHandler

Trait EchoLocalClientHandler 

Source
pub trait EchoLocalClientHandler<___T = Channel>
where ___T: Transport,
{ // Required method fn on_string( &mut self, request: Request<OnString, ___T>, ) -> impl Future<Output = ()>; }
Expand description

A client handler for the Echo protocol.

See Echo for more details.

Required Methods§

Source

fn on_string( &mut self, request: Request<OnString, ___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> EchoLocalClientHandler<___T> for Local<___H>
where ___H: EchoClientHandler<___T>, ___T: Transport,

Source§

async fn on_string(&mut self, request: Request<OnString, ___T>)

Implementors§