[][src]Module futures_util::try_future

Futures

This module contains a number of functions for working with Futures, including the FutureExt trait which adds methods to Future types.

Structs

AndThen

Future for the and_then method.

ErrInto

Future for the err_into method.

FlattenSink

Future for the flatten_sink method.

IntoFuture

Future for the into_future method.

MapErr

Future for the map_err method.

MapOk

Future for the map_ok method.

OrElse

Future for the or_else method.

TryJoin

Future for the try_join function.

TryJoin3

Future for the try_join3 function.

TryJoin4

Future for the try_join4 function.

TryJoin5

Future for the try_join5 function.

TryJoinAll

Future for the try_join_all function.

UnwrapOrElse

Future for the unwrap_or_else method.

Traits

TryFutureExt

Adapters specific to Result-returning futures

Functions

try_join

Joins the result of two futures, waiting for them both to complete or for one to produce an error.

try_join3

Same as try_join, but with more futures.

try_join4

Same as try_join, but with more futures.

try_join5

Same as try_join, but with more futures.

try_join_all

Creates a future which represents either a collection of the results of the futures given or an error.