Trait Reducer
workpool
pub trait Reducer<I> { type Output; fn reduce(&mut self, input: I); fn output(self) -> Self::Output; }
Reducer is responsible for reducing multiple inputs into a single output. This is used by the workpool to condense multiple work outputs to a single output.
type Output
fn reduce(&mut self, input: I)
fn output(self) -> Self::Output