Skip to main content

AgentResult

Type Alias AgentResult 

Source
pub type AgentResult = Result<AgentOutput, AgentError>;
Expand description

Result type for agent execution

Aliased Type§

pub enum AgentResult {
    Ok(AgentOutput),
    Err(AgentError),
}

Variants§

§1.0.0

Ok(AgentOutput)

Contains the success value

§1.0.0

Err(AgentError)

Contains the error value