[][src]Struct amadeus::par_sink::Fork

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

Implementations

impl<A, B, C, RefAItem> Fork<A, B, C, RefAItem>[src]

pub fn new(a: A, b: B, c: C) -> Fork<A, B, C, RefAItem>[src]

Constructs a new Fork.

Trait Implementations

impl<A, B, C, Input, RefAItem> DistributedPipe<Input> for Fork<A, B, C, RefAItem> where
    A: DistributedPipe<Input>,
    B: DistributedPipe<<A as DistributedPipe<Input>>::Output>,
    C: DistributedPipe<RefAItem>,
    RefAItem: 'static, 
[src]

type Output = Sum2<<B as DistributedPipe<<A as DistributedPipe<Input>>::Output>>::Output, <C as DistributedPipe<RefAItem>>::Output>

type Task = JoinTask<<A as DistributedPipe<Input>>::Task, <B as DistributedPipe<<A as DistributedPipe<Input>>::Output>>::Task, <C as DistributedPipe<RefAItem>>::Task, RefAItem>

impl<A, B, C, Item, RefAItem> DistributedSink<Item> for Fork<A, B, C, RefAItem> where
    A: DistributedPipe<Item>,
    B: DistributedSink<<A as DistributedPipe<Item>>::Output>,
    C: DistributedSink<RefAItem>,
    RefAItem: 'static, 
[src]

type Done = (<B as DistributedSink<<A as DistributedPipe<Item>>::Output>>::Done, <C as DistributedSink<RefAItem>>::Done)

type Pipe = Fork<A, <B as DistributedSink<<A as DistributedPipe<Item>>::Output>>::Pipe, <C as DistributedSink<RefAItem>>::Pipe, RefAItem>

type ReduceA = ReduceA2<<B as DistributedSink<<A as DistributedPipe<Item>>::Output>>::ReduceA, <C as DistributedSink<RefAItem>>::ReduceA>

type ReduceB = ReduceC2<<B as DistributedSink<<A as DistributedPipe<Item>>::Output>>::ReduceB, <C as DistributedSink<RefAItem>>::ReduceB>

type ReduceC = ReduceC2<<B as DistributedSink<<A as DistributedPipe<Item>>::Output>>::ReduceC, <C as DistributedSink<RefAItem>>::ReduceC>

impl<A, B, C, RefAItem> DistributedStream for Fork<A, B, C, RefAItem> where
    A: DistributedStream,
    B: DistributedPipe<<A as DistributedStream>::Item>,
    C: DistributedPipe<RefAItem>,
    RefAItem: 'static, 
[src]

type Item = Sum2<<B as DistributedPipe<<A as DistributedStream>::Item>>::Output, <C as DistributedPipe<RefAItem>>::Output>

type Task = JoinTask<<A as DistributedStream>::Task, <B as DistributedPipe<<A as DistributedStream>::Item>>::Task, <C as DistributedPipe<RefAItem>>::Task, RefAItem>

impl<A, B, C, Input, RefAItem> ParallelPipe<Input> for Fork<A, B, C, RefAItem> where
    A: ParallelPipe<Input>,
    B: ParallelPipe<<A as ParallelPipe<Input>>::Output>,
    C: ParallelPipe<RefAItem>,
    RefAItem: 'static, 
[src]

type Output = Sum2<<B as ParallelPipe<<A as ParallelPipe<Input>>::Output>>::Output, <C as ParallelPipe<RefAItem>>::Output>

type Task = JoinTask<<A as ParallelPipe<Input>>::Task, <B as ParallelPipe<<A as ParallelPipe<Input>>::Output>>::Task, <C as ParallelPipe<RefAItem>>::Task, RefAItem>

impl<A, B, C, Item, RefAItem> ParallelSink<Item> for Fork<A, B, C, RefAItem> where
    A: ParallelPipe<Item>,
    B: ParallelSink<<A as ParallelPipe<Item>>::Output>,
    C: ParallelSink<RefAItem>,
    RefAItem: 'static, 
[src]

type Done = (<B as ParallelSink<<A as ParallelPipe<Item>>::Output>>::Done, <C as ParallelSink<RefAItem>>::Done)

type Pipe = Fork<A, <B as ParallelSink<<A as ParallelPipe<Item>>::Output>>::Pipe, <C as ParallelSink<RefAItem>>::Pipe, RefAItem>

type ReduceA = ReduceA2<<B as ParallelSink<<A as ParallelPipe<Item>>::Output>>::ReduceA, <C as ParallelSink<RefAItem>>::ReduceA>

type ReduceC = ReduceC2<<B as ParallelSink<<A as ParallelPipe<Item>>::Output>>::ReduceC, <C as ParallelSink<RefAItem>>::ReduceC>

impl<A, B, C, RefAItem> ParallelStream for Fork<A, B, C, RefAItem> where
    A: ParallelStream,
    B: ParallelPipe<<A as ParallelStream>::Item>,
    C: ParallelPipe<RefAItem>,
    RefAItem: 'static, 
[src]

type Item = Sum2<<B as ParallelPipe<<A as ParallelStream>::Item>>::Output, <C as ParallelPipe<RefAItem>>::Output>

type Task = JoinTask<<A as ParallelStream>::Task, <B as ParallelPipe<<A as ParallelStream>::Item>>::Task, <C as ParallelPipe<RefAItem>>::Task, RefAItem>

impl<'pin, A, B, C, RefAItem> Unpin for Fork<A, B, C, RefAItem> where
    __Fork<'pin, A, B, C, RefAItem>: Unpin
[src]

impl<A, B, C, RefAItem> UnsafeUnpin for Fork<A, B, C, RefAItem>[src]

Auto Trait Implementations

impl<A, B, C, RefAItem> RefUnwindSafe for Fork<A, B, C, RefAItem> where
    A: RefUnwindSafe,
    B: RefUnwindSafe,
    C: RefUnwindSafe

impl<A, B, C, RefAItem> Send for Fork<A, B, C, RefAItem> where
    A: Send,
    B: Send,
    C: Send

impl<A, B, C, RefAItem> Sync for Fork<A, B, C, RefAItem> where
    A: Sync,
    B: Sync,
    C: Sync

impl<A, B, C, RefAItem> UnwindSafe for Fork<A, B, C, RefAItem> where
    A: UnwindSafe,
    B: UnwindSafe,
    C: 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> IntoDistributedStream for T where
    T: DistributedStream
[src]

type DistStream = T

type Item = <T as DistributedStream>::Item

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

type ParStream = T

type Item = <T as ParallelStream>::Item

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[src]

type Meta = Concrete

Type of metadata for type.

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

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