pub trait ClientHandler: 'static {
// Provided method
fn disconnected(self: Box<Self>) { ... }
}Expand description
A handler for events emitted by a Client.
Provided Methods§
Sourcefn disconnected(self: Box<Self>)
fn disconnected(self: Box<Self>)
The client disconnected.
This is not emitted if the client is disconnected with Client::disconnect.