pub trait ToolHandler: Send + Sync {
// Required methods
fn catalog_name(&self) -> &str;
fn execute<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
context: &'life1 HandlerContext,
arguments: &'life2 Value,
) -> Pin<Box<dyn Future<Output = Result<ToolExecution>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
// Provided method
fn concurrency_class(&self) -> ConcurrencyClass { ... }
}