[][src]Trait workpool::Worker

pub trait Worker<I> {
    type Output;
    fn run(&self, input: I) -> Self::Output;
}

Associated Types

type Output

Loading content...

Required methods

fn run(&self, input: I) -> Self::Output

Loading content...

Implementors

impl<T, I, O> Worker<I> for T where
    T: Fn(I) -> O, 
[src]

type Output = O

Loading content...