Skip to main content

MutatingExpression

Trait MutatingExpression 

Source
pub trait MutatingExpression: Send + Sync {
    // Required method
    fn evaluate(&self, exchange: &mut Exchange) -> Result<Value, LanguageError>;
}
Expand description

Expression that may modify the Exchange during evaluation. Changes to headers, properties, or body are propagated back.

Required Methods§

Source

fn evaluate(&self, exchange: &mut Exchange) -> Result<Value, LanguageError>

Implementors§