pub struct MinByKey<P, F> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<P: ParallelPipe<Item>, Item, F, B> DistributedSink<Item> for MinByKey<P, F>
impl<P: ParallelPipe<Item>, Item, F, B> DistributedSink<Item> for MinByKey<P, F>
type Done = <<MinByKey<P, F> as DistributedSink<Item>>::ReduceC as Reducer<<<MinByKey<P, F> as DistributedSink<Item>>::ReduceB as Reducer<<<MinByKey<P, F> 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, MinByKey<<P as DistributedPipe<Item>>::Output, F, B>, Inter>
type ReduceB = FolderSyncReducer<<<MinByKey<P, F> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done, MinByKey<<P as DistributedPipe<Item>>::Output, F, B>, Inter>
type ReduceC = FolderSyncReducer<<<MinByKey<P, F> as DistributedSink<Item>>::ReduceB as Reducer<<<MinByKey<P, F> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done>>::Done, MinByKey<<P as DistributedPipe<Item>>::Output, F, B>, Final>
fn reducers(self) -> (P, Self::ReduceA, Self::ReduceB, Self::ReduceC)
Source§impl<P: ParallelPipe<Item>, Item, F, B> ParallelSink<Item> for MinByKey<P, F>
impl<P: ParallelPipe<Item>, Item, F, B> ParallelSink<Item> for MinByKey<P, F>
type Done = <<MinByKey<P, F> as ParallelSink<Item>>::ReduceC as Reducer<<<MinByKey<P, F> as ParallelSink<Item>>::ReduceA as Reducer<<P as ParallelPipe<Item>>::Output>>::Done>>::Done
type Pipe = P
type ReduceA = FolderSyncReducer<<P as ParallelPipe<Item>>::Output, MinByKey<<P as ParallelPipe<Item>>::Output, F, B>, Inter>
type ReduceC = FolderSyncReducer<<<MinByKey<P, F> as ParallelSink<Item>>::ReduceA as Reducer<<P as ParallelPipe<Item>>::Output>>::Done, MinByKey<<P as ParallelPipe<Item>>::Output, F, B>, Final>
fn reducers(self) -> (P, Self::ReduceA, Self::ReduceC)
Auto Trait Implementations§
impl<P, F> Freeze for MinByKey<P, F>
impl<P, F> RefUnwindSafe for MinByKey<P, F>where
P: RefUnwindSafe,
F: RefUnwindSafe,
impl<P, F> Send for MinByKey<P, F>
impl<P, F> Sync for MinByKey<P, F>
impl<P, F> Unpin for MinByKey<P, F>
impl<P, F> UnwindSafe for MinByKey<P, F>where
P: UnwindSafe,
F: 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