Enum forkjoin::ResultReceiver
[−]
[src]
pub enum ResultReceiver<Ret: Send + Sync> { Join(Unique<Ret>, Arc<JoinBarrier<Ret>>), Channel(Arc<Mutex<Sender<Ret>>>), }
Enum describing what to do with results of Task
s and JoinBarrier
s.
Variants
Join(Unique<Ret>, Arc<JoinBarrier<Ret>>)
Algorithm has Summa style and the value should be inserted into a JoinBarrier
Channel(Arc<Mutex<Sender<Ret>>>)
Algorithm has Search style and results should be sent directly to the owner.
Trait Implementations
impl<Ret: Send + Sync> Clone for ResultReceiver<Ret>
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more