pub trait ICommandHandlerMatchingRule: Sync + Send {
// Required methods
fn get_command_regex(&self) -> &CommandDetectionRegex;
fn get_command_handler_id(&self) -> CommandHandlerId;
}Required Methods§
fn get_command_regex(&self) -> &CommandDetectionRegex
fn get_command_handler_id(&self) -> CommandHandlerId
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".