Struct futures_util::try_stream::MapOk [−][src]
#[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]
impl<St: Debug, F: Debug> Debug for MapOk<St, F>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<St: Unpin, F> Unpin for MapOk<St, F>
[src]
impl<St: Unpin, F> Unpin for MapOk<St, F>
impl<St, F, T> Stream for MapOk<St, F> where
St: TryStream,
F: FnMut(St::Ok) -> T,
[src]
impl<St, F, T> Stream for MapOk<St, F> where
St: TryStream,
F: FnMut(St::Ok) -> T,
type Item = Result<T, St::Error>
Values yielded by the stream.
fn poll_next(self: PinMut<Self>, cx: &mut Context) -> Poll<Option<Self::Item>>
[src]
fn poll_next(self: PinMut<Self>, cx: &mut Context) -> Poll<Option<Self::Item>>
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