DefaultNodeResult

Type Alias DefaultNodeResult 

Source
pub type DefaultNodeResult = Result<Box<dyn Any + Send + Sync>, CanoError>;
Expand description

Standard result type for node execution phases

This type represents the result of a node’s execution phase. It uses Box<dyn Any> to allow nodes to return any type while maintaining type erasure for dynamic workflows.

Aliased Type§

pub enum DefaultNodeResult {
    Ok(Box<dyn Any + Send + Sync>),
    Err(CanoError),
}

Variants§

§1.0.0

Ok(Box<dyn Any + Send + Sync>)

Contains the success value

§1.0.0

Err(CanoError)

Contains the error value