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]
pub fn new(pushers: Vec<P>, key: H) -> Exchange<T, D, P, H>
[src]
Allocates a new Exchange
from a supplied set of pushers and a distribution function.