Skip to main content

ToolHandler

Type Alias ToolHandler 

Source
pub type ToolHandler = Box<dyn Fn(Value) -> BoxFuture<'static, Result<Value>> + Send + Sync + 'static>;
Expand description

Inline callable tool handler 类型。

Aliased Type§

pub struct ToolHandler(/* private fields */);