Trait Worker
workpool
pub trait Worker<I> { type Output; fn run(&self, input: I) -> Self::Output; }
type Output
fn run(&self, input: I) -> Self::Output
impl<T, I, O> Worker<I> for T where T: Fn(I) -> O,
type Output = O
fn run(&self, input: I) -> O