1 2 3 4 5 6 7
use result::StageResult; pub trait TransformationStage<T> { fn run(&self, previous: T) -> StageResult<T>; }