Skip to main content

EchoServiceHandler

Trait EchoServiceHandler 

Source
pub trait EchoServiceHandler {
    // Required methods
    fn regular_echo(&self, server_end: ServerEnd<Echo, Channel>);
    fn reversed_echo(&self, server_end: ServerEnd<Echo, Channel>);
}
Expand description

A service handler for the EchoService service.

Required Methods§

Source

fn regular_echo(&self, server_end: ServerEnd<Echo, Channel>)

Handles an attempt to connect to the regular_echo member.

Source

fn reversed_echo(&self, server_end: ServerEnd<Echo, Channel>)

Handles an attempt to connect to the reversed_echo member.

Implementors§