pub fn add_handler<H>(&mut self, handler: H)
    where
        H: ConnectionHandler + Send + Sync + 'static,
    {
        self.handlers.push(Box::new(handler));
    }
/// Adds a new connection handler to this mux.
Adds a new connection handler to this mux.
Adds a new connection handler to this mux .
pub fn add_handler<H>(&mut self, handler: H)
    where
        H: ConnectionHandler + Send + Sync + 'static,
    {
        self.handlers.push(Box::new(handler));
    }
pub fn add_handler < H > ( & mut self , handler : H ) where H : ConnectionHandler + Send + Sync + ' static , { self . handlers . push ( Box :: new ( handler ) ) ; }
Adds a new connection handler to this mux.
Adds a new connection handler to this mux .
&mut self
handler
H
&mut self
handler
H