Trait ICommandHandlerMatchingRule

Source
pub trait ICommandHandlerMatchingRule: Sync + Send {
    // Required methods
    fn get_command_regex(&self) -> &CommandDetectionRegex;
    fn get_command_handler_id(&self) -> CommandHandlerId;
}

Required Methods§

Implementors§

Source§

impl<TCommandHandler: ICommandHandler + 'static> ICommandHandlerMatchingRule for CommandHandlerMatchingRule<TCommandHandler>