Skip to main content

EchoClientHandler

Trait EchoClientHandler 

Source
pub trait EchoClientHandler<___T = Channel>
where ___T: Transport,
{ // Required method fn on_string( &mut self, request: Request<OnString, ___T>, ) -> impl Future<Output = ()> + Send; }
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 = ()> + 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.

Implementations on Foreign Types§

Source§

impl<___T> EchoClientHandler<___T> for IgnoreEvents
where ___T: Transport,

Source§

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

Implementors§