pub fn new_listener<N>(conn: Rc<Connection>, name: N) -> Result<Self>
        where N: ToString,
    {
        Ok(Server {
            conn: conn,
            name: name.to_string(),
            can_handle: false,

            objects: BTreeMap::new(),
            signals: SignalHandlerMap::new(),
            namespace_signals: SignalHandlerMap::new(),
        })
    }
/// Create a new `Server` to listen for signals.
Create a new `Server` to listen for signals.
Create a new ` Server ` to listen for signals .
pub fn new_listener<N>(conn: Rc<Connection>, name: N) -> Result<Self>
        where N: ToString,
    {
        Ok(Server {
            conn: conn,
            name: name.to_string(),
            can_handle: false,
            objects: BTreeMap::new(),
            signals: SignalHandlerMap::new(),
            namespace_signals: SignalHandlerMap::new(),
        })
    }
pub fn new_listener < N > ( conn : Rc < Connection > , name : N ) -> Result < Self > where N : ToString , { Ok ( Server { conn : conn , name : name . to_string ( ) , can_handle : false , objects : BTreeMap :: new ( ) , signals : SignalHandlerMap :: new ( ) , namespace_signals : SignalHandlerMap :: new ( ) , } ) }
Create a new `Server` to listen for signals.
Create a new ` Server ` to listen for signals .
conn
Rc<Connection>
name
N