[][src]Struct amadeus_core::par_sink::Pipe

#[must_use]pub struct Pipe<A, B> { /* fields omitted */ }

Implementations

impl<A, B> Pipe<A, B>[src]

pub fn new(a: A, b: B) -> Self[src]

Constructs a new Pipe.

Trait Implementations

impl<A: ParallelPipe<Source>, B: ParallelPipe<A::Item>, Source> DistributedPipe<Source> for Pipe<A, B>[src]

type Item = B::Item

type Task = JoinTask<A::Task, B::Task>

impl<A: DistributedPipe<Source>, B: DistributedSink<A::Item>, Source> DistributedSink<Source> for Pipe<A, B>[src]

type Output = B::Output

type Pipe = Pipe<A, B::Pipe>

type ReduceA = B::ReduceA

type ReduceB = B::ReduceB

type ReduceC = B::ReduceC

impl<A: ParallelStream, B: ParallelPipe<A::Item>> DistributedStream for Pipe<A, B>[src]

type Item = B::Item

type Task = JoinTask<A::Task, B::Task>

impl<A: ParallelPipe<Source>, B: ParallelPipe<A::Item>, Source> ParallelPipe<Source> for Pipe<A, B>[src]

type Item = B::Item

type Task = JoinTask<A::Task, B::Task>

impl<A: ParallelPipe<Source>, B: ParallelSink<A::Item>, Source> ParallelSink<Source> for Pipe<A, B>[src]

type Output = B::Output

type Pipe = Pipe<A, B::Pipe>

type ReduceA = B::ReduceA

type ReduceC = B::ReduceC

impl<A: ParallelStream, B: ParallelPipe<A::Item>> ParallelStream for Pipe<A, B>[src]

type Item = B::Item

type Task = JoinTask<A::Task, B::Task>

Auto Trait Implementations

impl<A, B> RefUnwindSafe for Pipe<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

impl<A, B> Send for Pipe<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for Pipe<A, B> where
    A: Sync,
    B: Sync

impl<A, B> Unpin for Pipe<A, B> where
    A: Unpin,
    B: Unpin

impl<A, B> UnwindSafe for Pipe<A, B> where
    A: UnwindSafe,
    B: 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<T> From<T> for T[src]

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

impl<T> IntoDistributedStream for T where
    T: DistributedStream
[src]

impl<T> IntoParallelStream for T where
    T: ParallelStream
[src]

type ParStream = T

type Item = <T as ParallelStream>::Item

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<V, T> VZip<V> for T where
    V: MultiLane<T>,