[][src]Struct amadeus::par_sink::Sort

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

Implementations

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

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

Constructs a new Sort.

Trait Implementations

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<P, F> UnwindSafe for Sort<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>,