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