[][src]Struct futures_util::try_stream::MapOk

#[must_use = "streams do nothing unless polled"]
pub struct MapOk<St, F> { /* fields omitted */ }

Stream for the map_ok combinator.

Trait Implementations

impl<St: Debug, F: Debug> Debug for MapOk<St, F>
[src]

Formats the value using the given formatter. Read more

impl<St: Unpin, F> Unpin for MapOk<St, F>
[src]

impl<St, F, T> Stream for MapOk<St, F> where
    St: TryStream,
    F: FnMut(St::Ok) -> T, 
[src]

Values yielded by the stream.

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more

Auto Trait Implementations

impl<St, F> Send for MapOk<St, F> where
    F: Send,
    St: Send

impl<St, F> Sync for MapOk<St, F> where
    F: Sync,
    St: Sync