[][src]Struct amadeus_core::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) -> Self[src]

Constructs a new ForEach.

Trait Implementations

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

type Output = ()

type Pipe = I

type ReduceA = ForEachReducer<I::Item, F>

type ReduceB = PushReducer<()>

type ReduceC = PushReducer<()>

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

type Output = ()

type Pipe = I

type ReduceA = ForEachReducer<I::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> From<T> for T[src]

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

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