pub trait CommandHandler<C>:
Send
+ Sync
+ 'staticwhere
C: Command,{
// Required method
fn call(&self, context: CommandContext, args: C::Args) -> CommandFuture<C>;
}Required Methods§
fn call(&self, context: CommandContext, args: C::Args) -> CommandFuture<C>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".