Trait irc_bot::BotCmdHandler [−][src]
pub trait BotCmdHandler: Send + Sync + UnwindSafe + RefUnwindSafe { fn run(&self, _: &State, _: &MsgMetadata, _: &Yaml) -> BotCmdResult; }
Required Methods
fn run(&self, _: &State, _: &MsgMetadata, _: &Yaml) -> BotCmdResult
Implementors
impl<F, R> BotCmdHandler for F where
F: Fn(&State, &MsgMetadata, &Yaml) -> R + Send + Sync + UnwindSafe + RefUnwindSafe,
R: Into<BotCmdResult>,