pub trait BotCmdHandler:
Send
+ Sync
+ UnwindSafe
+ RefUnwindSafe {
// Required method
fn run(&self, _: &State, _: &MsgMetadata<'_>, _: &Yaml) -> BotCmdResult;
}Required Methods§
fn run(&self, _: &State, _: &MsgMetadata<'_>, _: &Yaml) -> BotCmdResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".