[−][src]Struct futures_util::try_stream::MapErr
#[must_use = "streams do nothing unless polled"]pub struct MapErr<St, F> { /* fields omitted */ }
Stream for the map_err
combinator.
Trait Implementations
impl<St: Debug, F: Debug> Debug for MapErr<St, F>
[src]
impl<St: Debug, F: Debug> Debug for MapErr<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 MapErr<St, F>
[src]
impl<St: Unpin, F> Unpin for MapErr<St, F>
impl<St, F, E> Stream for MapErr<St, F> where
St: TryStream,
F: FnMut(St::Error) -> E,
[src]
impl<St, F, E> Stream for MapErr<St, F> where
St: TryStream,
F: FnMut(St::Error) -> E,
type Item = Result<St::Ok, E>
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