Struct timely::dataflow::channels::pact::Exchange [] [src]

pub struct Exchange<D, F: Fn(&D) -> u64 + 'static> { /* fields omitted */ }

An exchange between multiple observers by data

Methods

impl<D, F: Fn(&D) -> u64> Exchange<D, F>
[src]

[src]

Allocates a new Exchange pact from a distribution function.

Trait Implementations

impl<T: Eq + Data + Abomonation + Clone, D: Data + Abomonation + Clone, F: Fn(&D) -> u64 + 'static> ParallelizationContract<T, D> for Exchange<D, F>
[src]

Type implementing Push produced by this pact.

Type implementing Pull produced by this pact.

[src]

Alloctes a matched pair of push and pull endpoints implementing the pact.