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.
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. - Flatten
Sink - Sink for the
flatten_sink
method. - Inspect
Err - Future for the
inspect_err
method. - Inspect
Ok - Future for the
inspect_ok
method. - MapErr
- Future for the
map_err
method. - MapOk
- Future for the
map_ok
method. - MapOk
OrElse - 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. - TryFlatten
Err - Future for the
try_flatten_err
method. - TryFlatten
Stream - Future for the
try_flatten_stream
method. - Unwrap
OrElse - Future for the
unwrap_or_else
method.
Traitsยง
- TryFuture
Ext - Adapters specific to
Result
-returning futures