Skip to main content

ToolResult

Type Alias ToolResult 

Source
pub type ToolResult<'a> = Pin<Box<dyn Future<Output = Result<String, ToolError>> + Send + 'a>>;
Expand description

Async result type for tool execution.

Aliased Typeยง

#[repr(transparent)]
pub struct ToolResult<'a> { /* private fields */ }