Struct timely::dataflow::channels::pushers::exchange::Exchange [−][src]
Distributes records among target pushees according to a distribution function.
Implementations
impl<T: Clone, D, P: Push<Bundle<T, D>>, H: FnMut(&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.
Trait Implementations
impl<T: Eq + Data, D: Data, P: Push<Bundle<T, D>>, H: FnMut(&T, &D) -> u64> Push<Message<Message<T, D>>> for Exchange<T, D, P, H>
[src]
Auto Trait Implementations
impl<T, D, P, H> RefUnwindSafe for Exchange<T, D, P, H> where
D: RefUnwindSafe,
H: RefUnwindSafe,
P: RefUnwindSafe,
T: RefUnwindSafe,
D: RefUnwindSafe,
H: RefUnwindSafe,
P: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, D, P, H> Send for Exchange<T, D, P, H> where
D: Send,
H: Send,
P: Send,
T: Send,
D: Send,
H: Send,
P: Send,
T: Send,
impl<T, D, P, H> Sync for Exchange<T, D, P, H> where
D: Sync,
H: Sync,
P: Sync,
T: Sync,
D: Sync,
H: Sync,
P: Sync,
T: Sync,
impl<T, D, P, H> Unpin for Exchange<T, D, P, H> where
D: Unpin,
H: Unpin,
P: Unpin,
T: Unpin,
D: Unpin,
H: Unpin,
P: Unpin,
T: Unpin,
impl<T, D, P, H> UnwindSafe for Exchange<T, D, P, H> where
D: UnwindSafe,
H: UnwindSafe,
P: UnwindSafe,
T: UnwindSafe,
D: UnwindSafe,
H: UnwindSafe,
P: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,