Enum streamunordered::StreamYield[][src]

pub enum StreamYield<S> where
    S: Stream
{ Item(S::Item), Finished(S), }

An event that occurred for a managed stream.

Variants

The underlying stream produced an item.

The underlying stream has completed, and is being returned.

Note that once this value is yielded, the stream's token may be reused.

Trait Implementations

impl<S: Debug> Debug for StreamYield<S> where
    S: Stream,
    S::Item: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<S> Send for StreamYield<S> where
    S: Send,
    <S as Stream>::Item: Send

impl<S> Sync for StreamYield<S> where
    S: Sync,
    <S as Stream>::Item: Sync