FunctionOutput

Type Alias FunctionOutput 

Source
pub type FunctionOutput = Result<Option<Variable>, Box<dyn Error + Send + Sync>>;
Expand description

Standard output type for dynamic functions.

This type alias represents the result of calling a dynamic function. It can either succeed with an optional Variable result or fail with an error.

Aliased Type§

pub enum FunctionOutput {
    Ok(Option<Variable>),
    Err(Box<dyn Error + Sync + Send>),
}

Variants§

§1.0.0

Ok(Option<Variable>)

Contains the success value

§1.0.0

Err(Box<dyn Error + Sync + Send>)

Contains the error value