Struct cooks::Cooks
[-]
[+]
[src]
pub struct Cooks<Txty, Rxty, F> { // some fields omitted }
Methods
impl<Txty: Send, Rxty: Send, F> Cooks<Txty, Rxty, F> where F: Fn(Txty) -> Option<Rxty>, F: Send + Sync + 'static
fn new(f: F) -> Cooks<Txty, Rxty, F>
Starts new num_cpus
cooks.
fn new_n(count: usize, f: F) -> Cooks<Txty, Rxty, F>
Starts new n
cooks.