[−][src]Crate futures_util
Combinators and utilities for working with Futures, Streams, Sinks,
and the AsyncRead and AsyncWrite traits.
Modules
| future | Futures |
| io | IO |
| lock | Futures-powered synchronization primitives. |
| never | Definition of the |
| sink | Sinks |
| stream | Streams |
| task | Task notification |
Macros
| join | Polls multiple futures simultaneously, returning a tuple of all results once complete. |
| pending | A macro which yields to the event loop once. |
| pin_mut | Pins a value on the stack. |
| poll | A macro which returns the result of polling a future once within the
current |
| ready | Extracts the successful type of a |
| select | Polls multiple futures and streams simultaneously, executing the branch
for the future that finishes first. If multiple futures are ready,
one will be pseudo-randomly selected at runtime. Futures directly
passed to |
| select_biased | Polls multiple futures and streams simultaneously, executing the branch
for the future that finishes first. Unlike |
| try_join | Polls multiple futures simultaneously, resolving to a [ |