pub trait TriggerHandler:
Send
+ Sync
+ UnwindSafe
+ RefUnwindSafe {
// Required method
fn run(
&self,
_: &State,
_: &MsgMetadata<'_>,
_: Captures<'_>,
) -> BotCmdResult;
}
pub trait TriggerHandler:
Send
+ Sync
+ UnwindSafe
+ RefUnwindSafe {
// Required method
fn run(
&self,
_: &State,
_: &MsgMetadata<'_>,
_: Captures<'_>,
) -> BotCmdResult;
}