ClientHandler

Trait ClientHandler 

Source
pub trait ClientHandler: 'static {
    // Provided method
    fn disconnected(self: Box<Self>) { ... }
}
Expand description

A handler for events emitted by a Client.

Provided Methods§

Source

fn disconnected(self: Box<Self>)

The client disconnected.

This is not emitted if the client is disconnected with Client::disconnect.

Implementors§