[][src]Struct futures_util::future::CatchUnwind

#[must_use = "futures do nothing unless polled"]
pub struct CatchUnwind<Fut> where
    Fut: Future
{ /* fields omitted */ }

Future for the catch_unwind combinator.

This is created by the Future::catch_unwind method.

Trait Implementations

impl<Fut: Debug> Debug for CatchUnwind<Fut> where
    Fut: Future
[src]

Formats the value using the given formatter. Read more

impl<Fut> Future for CatchUnwind<Fut> where
    Fut: Future + UnwindSafe
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

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

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