pub trait Runnable<I, O> {
// Required method
fn run(&self, input: I) -> Result<O, TransformError>;
}Expand description
Trait for anything that can transform an input to an output
This is implemented by individual transformation stages.
The Transform struct composes multiple Runnable implementations.
Required Methods§
Sourcefn run(&self, input: I) -> Result<O, TransformError>
fn run(&self, input: I) -> Result<O, TransformError>
Execute this transformation on the input