Struct timely::dataflow::channels::pushers::exchange::Exchange [] [src]

pub struct Exchange<T, D, P: Push<(T, Content<D>)>, H: Fn(&T, &D) -> u64> { /* fields omitted */ }

Distributes records among target pushees according to a distribution function.

Methods

impl<T: Clone, D, P: Push<(T, Content<D>)>, H: Fn(&T, &D) -> u64> Exchange<T, D, P, H>
[src]

[src]

Allocates a new Exchange from a supplied set of pushers and a distribution function.

Trait Implementations

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

[src]

Pushes element and provides the opportunity to take ownership. Read more

[src]

Pushes element and drops any resulting resources.

[src]

Pushes None, conventionally signalling a flush.