[−][src]Trait goggles::par_seq::Pool
Trait for the (possibly parallel) runner for a System
.
Required methods
fn join<A, B, RA, RB>(&self, a: A, b: B) -> (RA, RB) where
A: FnOnce() -> RA + Send,
B: FnOnce() -> RB + Send,
RA: Send,
RB: Send,
A: FnOnce() -> RA + Send,
B: FnOnce() -> RB + Send,
RA: Send,
RB: Send,
Should run the two functions (potentially in parallel) and return their results.
Implementors
impl Pool for RayonPool
[src]
fn join<A, B, RA, RB>(&self, a: A, b: B) -> (RA, RB) where
A: FnOnce() -> RA + Send,
B: FnOnce() -> RB + Send,
RA: Send,
RB: Send,
[src]
A: FnOnce() -> RA + Send,
B: FnOnce() -> RB + Send,
RA: Send,
RB: Send,