ValidationHandler

Trait ValidationHandler 

Source
pub trait ValidationHandler {
    // Required method
    fn validate_value(&self, value: DynSolValue) -> Result<DynSolValue>;
}
Expand description

Handler trait for final expression validation.

Validates and potentially transforms the final result of expression evaluation. Used to enforce constraints or convert placeholder values to concrete values.

Required Methods§

Source

fn validate_value(&self, value: DynSolValue) -> Result<DynSolValue>

Validate and potentially transform a final expression value.

§Arguments
  • value - The value to validate
§Returns

The validated (possibly transformed) value, or an error if invalid

Implementations on Foreign Types§

Source§

impl ValidationHandler for Arc<SimulationDebugHandler>

Implementors§