pub fn add_addressed_handler<T>(&mut self, handler: T)
        where T: MessageHandler + 'static
    {
        println!("Adding handler {}", handler.name());
        self.addressed_handlers.push(Box::new(handler))
    }
/// Add a MessageHandler, that requires the bot to be addressed, to the bot
Add a MessageHandler, that requires the bot to be addressed, to the bot
Add a MessageHandler that requires the bot to be addressed to the bot
pub fn add_addressed_handler<T>(&mut self, handler: T)
        where T: MessageHandler + 'static
    {
        println!("Adding handler {}", handler.name());
        self.addressed_handlers.push(Box::new(handler))
    }
pub fn add_addressed_handler < T > ( & mut self , handler : T ) where T : MessageHandler + ' static { println ! ( " " handler name ( ) ) ; self . addressed_handlers . push ( Box :: new ( handler ) ) }
Add a MessageHandler, that requires the bot to be addressed, to the bot
Add a MessageHandler that requires the bot to be addressed to the bot
&mut self
handler
T
&mut self
handler
T