[−][src]Struct futures_util::stream::CatchUnwind
#[must_use = "streams do nothing unless polled"]pub struct CatchUnwind<St: Stream> { /* fields omitted */ }
Stream for the catch_unwind
combinator.
This is created by the Stream::catch_unwind
method.
Trait Implementations
impl<St: Debug + Stream> Debug for CatchUnwind<St>
[src]
impl<St: Debug + Stream> Debug for CatchUnwind<St>
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: Stream + UnwindSafe> Stream for CatchUnwind<St>
[src]
impl<St: Stream + UnwindSafe> Stream for CatchUnwind<St>
type Item = Result<St::Item, Box<Any + Send>>
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
Auto Trait Implementations
impl<St> Send for CatchUnwind<St> where
St: Send,
impl<St> Send for CatchUnwind<St> where
St: Send,
impl<St> Sync for CatchUnwind<St> where
St: Sync,
impl<St> Sync for CatchUnwind<St> where
St: Sync,