pub trait Server { type Handler: Handler + Send; fn new(&self) -> Self::Handler; }
Trait used to create new handlers when clients connect.
The type of handlers.
Called when a new client connects.