pub struct MostDistinct<P> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<P: ParallelPipe<Item, Output = (A, B)>, Item, A, B> DistributedSink<Item> for MostDistinct<P>
impl<P: ParallelPipe<Item, Output = (A, B)>, Item, A, B> DistributedSink<Item> for MostDistinct<P>
type Done = <<MostDistinct<P> as DistributedSink<Item>>::ReduceC as Reducer<<<MostDistinct<P> as DistributedSink<Item>>::ReduceB as Reducer<<<MostDistinct<P> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done>>::Done>>::Done
type Pipe = P
type ReduceA = FolderSyncReducer<<P as DistributedPipe<Item>>::Output, MostDistinctFolder, Inter>
type ReduceB = FolderSyncReducer<<<MostDistinct<P> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done, SumZeroFolder<Top<A, HyperLogLogMagnitude<B>>>, Inter>
type ReduceC = FolderSyncReducer<<<MostDistinct<P> as DistributedSink<Item>>::ReduceB as Reducer<<<MostDistinct<P> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done>>::Done, SumZeroFolder<Top<A, HyperLogLogMagnitude<B>>>, Final>
fn reducers(self) -> (P, Self::ReduceA, Self::ReduceB, Self::ReduceC)
Source§impl<P: ParallelPipe<Item, Output = (A, B)>, Item, A, B> ParallelSink<Item> for MostDistinct<P>
impl<P: ParallelPipe<Item, Output = (A, B)>, Item, A, B> ParallelSink<Item> for MostDistinct<P>
type Done = <<MostDistinct<P> as ParallelSink<Item>>::ReduceC as Reducer<<<MostDistinct<P> as ParallelSink<Item>>::ReduceA as Reducer<<P as ParallelPipe<Item>>::Output>>::Done>>::Done
type Pipe = P
type ReduceA = FolderSyncReducer<<P as ParallelPipe<Item>>::Output, MostDistinctFolder, Inter>
type ReduceC = FolderSyncReducer<<<MostDistinct<P> as ParallelSink<Item>>::ReduceA as Reducer<<P as ParallelPipe<Item>>::Output>>::Done, SumZeroFolder<Top<A, HyperLogLogMagnitude<B>>>, Final>
fn reducers(self) -> (P, Self::ReduceA, Self::ReduceC)
Auto Trait Implementations§
impl<P> Freeze for MostDistinct<P>where
P: Freeze,
impl<P> RefUnwindSafe for MostDistinct<P>where
P: RefUnwindSafe,
impl<P> Send for MostDistinct<P>where
P: Send,
impl<P> Sync for MostDistinct<P>where
P: Sync,
impl<P> Unpin for MostDistinct<P>where
P: Unpin,
impl<P> UnwindSafe for MostDistinct<P>where
P: 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more