#[must_use = "futures do nothing unless polled"]
pub struct UnwrapOrElse<Fut, F> { /* fields omitted */ }
Future for the unwrap_or_else
combinator. It unwraps the result, returning
the content of the Ok
as Output
or if the value is an Err
then it
calls op
with its value.
Formats the value using the given formatter. Read more
🔬 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