Module try_future

Source
Expand description

Futures

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

Re-exportsยง

pub use self::into_future::IntoFuture;

Modulesยง

into_future ๐Ÿ”’
try_flatten ๐Ÿ”’
try_flatten_err ๐Ÿ”’

Structsยง

AndThen
Future for the and_then method.
ErrInto
Future for the err_into method.
FlattenSink
Sink for the flatten_sink method.
InspectErr
Future for the inspect_err method.
InspectOk
Future for the inspect_ok method.
MapErr
Future for the map_err method.
MapOk
Future for the map_ok method.
MapOkOrElse
Future for the map_ok_or_else method.
OkInto
Future for the ok_into method.
OrElse
Future for the or_else method.
TryFlatten
Future for the try_flatten method.
TryFlattenErr
Future for the try_flatten_err method.
TryFlattenStream
Future for the try_flatten_stream method.
UnwrapOrElse
Future for the unwrap_or_else method.

Traitsยง

TryFutureExt
Adapters specific to Result-returning futures