[][src]Struct amadeus::par_stream::Update

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

Implementations

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

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

Constructs a new Update.

Trait Implementations

impl<P, F, Input> DistributedPipe<Input> for Update<P, F> where
    F: for<'a> FnMut<(&'a mut <P as DistributedPipe<Input>>::Output,), Output = ()> + Clone + ProcessSend + 'static,
    P: DistributedPipe<Input>, 
[src]

type Output = <P as DistributedPipe<Input>>::Output

type Task = UpdateTask<<P as DistributedPipe<Input>>::Task, F>

impl<P, F> DistributedStream for Update<P, F> where
    F: for<'a> FnMut<(&'a mut <P as DistributedStream>::Item,), Output = ()> + Clone + ProcessSend + 'static,
    P: DistributedStream
[src]

type Item = <P as DistributedStream>::Item

type Task = UpdateTask<<P as DistributedStream>::Task, F>

impl<P, F, Input> ParallelPipe<Input> for Update<P, F> where
    F: for<'a> FnMut<(&'a mut <P as ParallelPipe<Input>>::Output,), Output = ()> + Clone + Send + 'static,
    P: ParallelPipe<Input>, 
[src]

type Output = <P as ParallelPipe<Input>>::Output

type Task = UpdateTask<<P as ParallelPipe<Input>>::Task, F>

impl<P, F> ParallelStream for Update<P, F> where
    F: for<'a> FnMut<(&'a mut <P as ParallelStream>::Item,), Output = ()> + Clone + Send + 'static,
    P: ParallelStream
[src]

type Item = <P as ParallelStream>::Item

type Task = UpdateTask<<P as ParallelStream>::Task, F>

impl<'pin, P, F> Unpin for Update<P, F> where
    __Update<'pin, P, F>: Unpin
[src]

impl<P, F> UnsafeUnpin for Update<P, F>[src]

Auto Trait Implementations

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

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

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

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