[][src]Struct futures::stream::CatchUnwind

#[must_use = "streams do nothing unless polled"]
pub struct CatchUnwind<S> where
    S: Stream
{ /* fields omitted */ }

Stream for the catch_unwind combinator.

This is created by the Stream::catch_unwind method.

Trait Implementations

impl<S> Stream for CatchUnwind<S> where
    S: Stream + UnwindSafe
[src]

type Item = Result<S::Item, S::Error>

The type of item this stream will yield on success.

type Error = Box<dyn Any + Send>

The type of error this stream may generate.

impl<S: Debug> Debug for CatchUnwind<S> where
    S: Stream
[src]

Auto Trait Implementations

impl<S> Unpin for CatchUnwind<S> where
    S: Unpin

impl<S> Send for CatchUnwind<S> where
    S: Send

impl<S> Sync for CatchUnwind<S> where
    S: Sync

impl<S> UnwindSafe for CatchUnwind<S> where
    S: UnwindSafe

impl<S> RefUnwindSafe for CatchUnwind<S> where
    S: RefUnwindSafe

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]