[][src]Struct amadeus_core::pipe::FlatMap

pub struct FlatMap<P, F, R> { /* fields omitted */ }

Implementations

impl<P, F, R> FlatMap<P, F, R>[src]

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

Constructs a new FlatMap.

Trait Implementations

impl<P, F, R> PinnedDrop for FlatMap<P, F, R>[src]

impl<P: Pipe<Input>, F, R, Input> Pipe<Input> for FlatMap<P, F, R> where
    F: FnMut<(P::Output,), Output = R>,
    R: Stream
[src]

type Output = R::Item

impl<P: Stream, F, R> Stream for FlatMap<P, F, R> where
    F: FnMut<(P::Item,), Output = R>,
    R: Stream
[src]

type Item = R::Item

Values yielded by the stream.

impl<'pin, P, F, R> Unpin for FlatMap<P, F, R> where
    __FlatMap<'pin, P, F, R>: Unpin
[src]

impl<P, F, R> UnsafeUnpin for FlatMap<P, F, R>[src]

Auto Trait Implementations

impl<P, F, R> RefUnwindSafe for FlatMap<P, F, R> where
    F: RefUnwindSafe,
    P: RefUnwindSafe,
    R: RefUnwindSafe

impl<P, F, R> Send for FlatMap<P, F, R> where
    F: Send,
    P: Send,
    R: Send

impl<P, F, R> Sync for FlatMap<P, F, R> where
    F: Sync,
    P: Sync,
    R: Sync

impl<P, F, R> UnwindSafe for FlatMap<P, F, R> where
    F: UnwindSafe,
    P: UnwindSafe,
    R: 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<S> StreamExt for S where
    S: Stream + ?Sized
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[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<S, T, E> TryStream for S where
    S: Stream<Item = Result<T, E>> + ?Sized
[src]

type Ok = T

The type of successful values yielded by this future

type Error = E

The type of failures yielded by this future

impl<S> TryStreamExt for S where
    S: TryStream + ?Sized
[src]

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