[][src]Struct futures_ext::FuturesOrdered

#[must_use = "streams do nothing unless polled"]pub struct FuturesOrdered<I> where
    I: IntoIterator,
    I::Item: IntoFuture
{ /* fields omitted */ }

A future which takes a list of futures, executes them serially, and resolves with a vector of the completed values.

This future is created with the futures_ordered method.

Trait Implementations

impl<I> Debug for FuturesOrdered<I> where
    I: IntoIterator,
    I::Item: IntoFuture,
    <<I as IntoIterator>::Item as IntoFuture>::Future: Debug,
    <<I as IntoIterator>::Item as IntoFuture>::Item: Debug
[src]

impl<I> Stream for FuturesOrdered<I> where
    I: IntoIterator,
    I::Item: IntoFuture
[src]

type Item = <I::Item as IntoFuture>::Item

The type of item this stream will yield on success.

type Error = <I::Item as IntoFuture>::Error

The type of error this stream may generate.

Auto Trait Implementations

impl<I> RefUnwindSafe for FuturesOrdered<I> where
    <<I as IntoIterator>::Item as IntoFuture>::Future: RefUnwindSafe,
    <I as IntoIterator>::IntoIter: RefUnwindSafe
[src]

impl<I> Send for FuturesOrdered<I> where
    <<I as IntoIterator>::Item as IntoFuture>::Future: Send,
    <I as IntoIterator>::IntoIter: Send
[src]

impl<I> Sync for FuturesOrdered<I> where
    <<I as IntoIterator>::Item as IntoFuture>::Future: Sync,
    <I as IntoIterator>::IntoIter: Sync
[src]

impl<I> Unpin for FuturesOrdered<I> where
    <<I as IntoIterator>::Item as IntoFuture>::Future: Unpin,
    <I as IntoIterator>::IntoIter: Unpin
[src]

impl<I> UnwindSafe for FuturesOrdered<I> where
    <<I as IntoIterator>::Item as IntoFuture>::Future: UnwindSafe,
    <I as IntoIterator>::IntoIter: UnwindSafe
[src]

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> StreamExt for T where
    T: Stream
[src]

impl<T> StreamExt for T where
    T: Stream + ?Sized
[src]

impl<T> StreamLayeredExt for T where
    T: Stream<Item = Bytes>, 
[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.