[−][src]Module futures_util::try_future
Futures
This module contains a number of functions for working with Future
s,
including the FutureExt
trait which adds methods to Future
types.
Structs
AndThen | Future for the |
ErrInto | Future for the |
FlattenSink | Sink for the |
InspectErr | Future for the |
InspectOk | Future for the |
IntoFuture | Future for the |
MapErr | Future for the |
MapOk | Future for the |
OrElse | Future for the |
SelectOk | Future for the |
TryFlattenStream | Stream for the |
TryJoin | Future for the |
TryJoin3 | Future for the |
TryJoin4 | Future for the |
TryJoin5 | Future for the |
TryJoinAll | Future for the |
TrySelect | Future for the |
UnwrapOrElse | Future for the |
Traits
TryFutureExt | Adapters specific to |
Functions
select_ok | Creates a new future which will select the first successful future over a list of futures. |
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_join4 | Same as |
try_join5 | Same as |
try_join_all | Creates a future which represents either a collection of the results of the futures given or an error. |
try_select | Waits for either one of two differently-typed futures to complete. |