pub struct Exchange<T, CB, P, H>where
CB: ContainerBuilder,
CB::Container: SizableContainer,
P: Push<Message<T, CB::Container>>,
for<'a> H: FnMut(&<CB::Container as Container>::Item<'a>) -> u64,{ /* private fields */ }
Expand description
Distributes records among target pushees according to a distribution function.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, CB, P, H> Freeze for Exchange<T, CB, P, H>
impl<T, CB, P, H> RefUnwindSafe for Exchange<T, CB, P, H>where
<CB as ContainerBuilder>::Container: Sized,
H: RefUnwindSafe,
T: RefUnwindSafe,
P: RefUnwindSafe,
CB: RefUnwindSafe,
impl<T, CB, P, H> Send for Exchange<T, CB, P, H>
impl<T, CB, P, H> Sync for Exchange<T, CB, P, H>
impl<T, CB, P, H> Unpin for Exchange<T, CB, P, H>
impl<T, CB, P, H> UnwindSafe for Exchange<T, CB, P, H>where
<CB as ContainerBuilder>::Container: Sized,
H: UnwindSafe,
T: UnwindSafe,
P: UnwindSafe,
CB: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more