pub type CommandHandler = Arc<dyn Fn(HashMap<String, String>, &CommandContext) -> Result<CommandResult, AgentError> + Send + Sync>;Expand description
Command handler function type
Aliased Typeยง
pub struct CommandHandler { /* private fields */ }pub type CommandHandler = Arc<dyn Fn(HashMap<String, String>, &CommandContext) -> Result<CommandResult, AgentError> + Send + Sync>;Command handler function type
pub struct CommandHandler { /* private fields */ }