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