[][src]Struct amadeus::par_sink::MinBy

#[must_use]pub struct MinBy<P, F> { /* fields omitted */ }

Implementations

impl<P, F> MinBy<P, F>[src]

pub fn new(pipe: P, f: F) -> MinBy<P, F>[src]

Constructs a new MinBy.

Trait Implementations

impl<P, Item, F> DistributedSink<Item> for MinBy<P, F> where
    F: for<'b, 'a> FnMut<(&'a <P as DistributedPipe<Item>>::Output, &'b <P as DistributedPipe<Item>>::Output), Output = Ordering> + Clone + ProcessSend + 'static,
    P: DistributedPipe<Item>,
    <P as DistributedPipe<Item>>::Output: ProcessSend,
    <P as DistributedPipe<Item>>::Output: 'static, 
[src]

type Done = <<MinBy<P, F> as DistributedSink<Item>>::ReduceC as Reducer<<<MinBy<P, F> as DistributedSink<Item>>::ReduceB as Reducer<<<MinBy<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, MinBy<<P as DistributedPipe<Item>>::Output, F>, Inter>

type ReduceB = FolderSyncReducer<<<MinBy<P, F> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done, MinBy<<P as DistributedPipe<Item>>::Output, F>, Inter>

type ReduceC = FolderSyncReducer<<<MinBy<P, F> as DistributedSink<Item>>::ReduceB as Reducer<<<MinBy<P, F> as DistributedSink<Item>>::ReduceA as Reducer<<P as DistributedPipe<Item>>::Output>>::Done>>::Done, MinBy<<P as DistributedPipe<Item>>::Output, F>, Final>

impl<P, Item, F> ParallelSink<Item> for MinBy<P, F> where
    F: for<'a, 'b> FnMut<(&'a <P as ParallelPipe<Item>>::Output, &'b <P as ParallelPipe<Item>>::Output), Output = Ordering> + Clone + Send + 'static,
    P: ParallelPipe<Item>,
    <P as ParallelPipe<Item>>::Output: Send,
    <P as ParallelPipe<Item>>::Output: 'static, 
[src]

type Done = <<MinBy<P, F> as ParallelSink<Item>>::ReduceC as Reducer<<<MinBy<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, MinBy<<P as ParallelPipe<Item>>::Output, F>, Inter>

type ReduceC = FolderSyncReducer<<<MinBy<P, F> as ParallelSink<Item>>::ReduceA as Reducer<<P as ParallelPipe<Item>>::Output>>::Done, MinBy<<P as ParallelPipe<Item>>::Output, F>, Final>

Auto Trait Implementations

impl<P, F> RefUnwindSafe for MinBy<P, F> where
    F: RefUnwindSafe,
    P: RefUnwindSafe

impl<P, F> Send for MinBy<P, F> where
    F: Send,
    P: Send

impl<P, F> Sync for MinBy<P, F> where
    F: Sync,
    P: Sync

impl<P, F> Unpin for MinBy<P, F> where
    F: Unpin,
    P: Unpin

impl<P, F> UnwindSafe for MinBy<P, F> where
    F: UnwindSafe,
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Type for T where
    T: ?Sized
[src]

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,