Skip to main content

Runnable

Trait Runnable 

Source
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§

Source

fn run(&self, input: I) -> Result<O, TransformError>

Execute this transformation on the input

Implementors§