[][src]Struct amadeus::par_stream::FlatMap

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

Implementations

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

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

Constructs a new FlatMap.

Trait Implementations

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

type Item = <R as Stream>::Item

type Task = FlatMapTask<<I as DistributedPipe<Source>>::Task, F>

impl<I, F, R> DistributedStream for FlatMap<I, F> where
    F: FnMut(<I as DistributedStream>::Item) -> R + Clone + ProcessSend + 'static,
    I: DistributedStream,
    R: Stream
[src]

type Item = <R as Stream>::Item

type Task = FlatMapTask<<I as DistributedStream>::Task, F>

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

type Item = <R as Stream>::Item

type Task = FlatMapTask<<I as ParallelPipe<Source>>::Task, F>

impl<I, F, R> ParallelStream for FlatMap<I, F> where
    F: FnMut(<I as ParallelStream>::Item) -> R + Clone + Send + 'static,
    I: ParallelStream,
    R: Stream
[src]

type Item = <R as Stream>::Item

type Task = FlatMapTask<<I as ParallelStream>::Task, F>

Auto Trait Implementations

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

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

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

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

impl<I, F> UnwindSafe for FlatMap<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> 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>,