ToolResult

Type Alias ToolResult 

Source
pub type ToolResult<T> = Result<T, ToolError>;
Expand description

Result type alias for tool operations.

Aliased Type§

pub enum ToolResult<T> {
    Ok(T),
    Err(ToolError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ToolError)

Contains the error value