[][src]Struct amadeus::par_sink::ForEach

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

Implementations

impl<I, F> ForEach<I, F>[src]

pub fn new(i: I, f: F) -> ForEach<I, F>[src]

Constructs a new ForEach.

Trait Implementations

impl<I, Source, F> DistributedSink<Source> for ForEach<I, F> where
    F: FnMut(<I as DistributedPipe<Source>>::Item) + Clone + ProcessSend + 'static,
    I: DistributedPipe<Source>, 
[src]

type Output = ()

type Pipe = I

type ReduceAFactory = ForEachReducerFactory<<I as DistributedPipe<Source>>::Item, F>

type ReduceBFactory = DefaultReducerFactory<<ForEach<I, F> as DistributedSink<Source>>::ReduceB>

type ReduceA = ForEachReducer<<I as DistributedPipe<Source>>::Item, F>

type ReduceB = PushReducer<(), ()>

type ReduceC = PushReducer<(), ()>

impl<I, Source, F> ParallelSink<Source> for ForEach<I, F> where
    F: FnMut(<I as ParallelPipe<Source>>::Item) + Clone + Send + 'static,
    I: ParallelPipe<Source>, 
[src]

type Output = ()

type Pipe = I

type ReduceAFactory = ForEachReducerFactory<<I as ParallelPipe<Source>>::Item, F>

type ReduceA = ForEachReducer<<I as ParallelPipe<Source>>::Item, F>

type ReduceC = PushReducer<(), ()>

Auto Trait Implementations

impl<I, F> RefUnwindSafe for ForEach<I, F> where
    F: RefUnwindSafe,
    I: RefUnwindSafe

impl<I, F> Send for ForEach<I, F> where
    F: Send,
    I: Send

impl<I, F> Sync for ForEach<I, F> where
    F: Sync,
    I: Sync

impl<I, F> Unpin for ForEach<I, F> where
    F: Unpin,
    I: Unpin

impl<I, F> UnwindSafe for ForEach<I, F> where
    F: UnwindSafe,
    I: 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, U> Cast<U> for T where
    U: FromCast<T>, 

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

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

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

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

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

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>,