Module futures_util::try_future
source · Expand description
Futures
This module contains a number of functions for working with Future
s,
including the FutureExt
trait which adds methods to Future
types.
Structs§
- Future for the
and_then
method. - Future for the
err_into
method. - Future for the
flatten_sink
method. - Future for the
into_future
method. - Future for the
map_err
method. - Future for the
map_ok
method. - Future for the
or_else
method. - Future for the
select_ok
function. - Future for the
try_join
function. - Future for the
try_join3
function. - Future for the
try_join4
function. - Future for the
try_join5
function. - Future for the
try_join_all
function. - Future for the
unwrap_or_else
method.
Traits§
- Adapters specific to
Result
-returning futures
Functions§
- Creates a new future which will select the first successful future over a list of futures.
- Joins the result of two futures, waiting for them both to complete or for one to produce an error.
- Same as
try_join
, but with more futures. - Same as
try_join
, but with more futures. - Same as
try_join
, but with more futures. - Creates a future which represents either a collection of the results of the futures given or an error.