pub trait ExecutableProgram {
// Required method
fn execute(
&self,
value: VrlValue,
) -> Result<VrlValue, ExpressionExecutionError>;
}Expand description
Provides a convenient .execute() method on VRL Program types
that handles all the boilerplate of setting up execution context,
target values, and error handling.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".