Struct par_stream::WrappingEnumerate[][src]

pub struct WrappingEnumerate<T, S> where
    S: Stream<Item = T> + Unpin
{ /* fields omitted */ }

Trait Implementations

impl<T: Debug, S: Debug> Debug for WrappingEnumerate<T, S> where
    S: Stream<Item = T> + Unpin
[src]

impl<T, S> Stream for WrappingEnumerate<T, S> where
    S: Stream<Item = T> + Unpin
[src]

type Item = (usize, T)

Values yielded by the stream.

impl<'pin, T, S> Unpin for WrappingEnumerate<T, S> where
    S: Stream<Item = T> + Unpin,
    __WrappingEnumerate<'pin, T, S>: Unpin
[src]

Auto Trait Implementations

impl<T, S> RefUnwindSafe for WrappingEnumerate<T, S> where
    S: RefUnwindSafe

impl<T, S> Send for WrappingEnumerate<T, S> where
    S: Send

impl<T, S> Sync for WrappingEnumerate<T, S> where
    S: Sync

impl<T, S> UnwindSafe for WrappingEnumerate<T, S> where
    S: 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<I> IntoStream for I where
    I: Stream, 
[src]

type Item = <I as Stream>::Item

The type of the elements being iterated over.

type IntoStream = I

Which kind of stream are we turning this into?

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

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

impl<S> StreamExt for S where
    S: Stream + ?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.