[−][src]Crate futures_util
Combinators and utilities for working with Future
s, Stream
s, Sink
s,
and the AsyncRead
and AsyncWrite
traits.
Modules
async_await |
Await |
compat |
Futures 0.1 / 0.3 shims |
future |
Futures |
io |
IO |
lock |
Futures-powered synchronization primitives. |
sink |
Sinks |
stream |
Streams |
task |
Task notification |
try_future |
Futures |
try_stream |
Streams |
Macros
join |
Polls multiple futures simultaneously, returning a tuple of all results once complete. |
pending |
A macro which yields to the event loop once. |
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 simultaneously, executing the branch for the future that finishes first. |
spawn |
Spawns a task onto the context's executor that polls the given future with
output |
spawn_with_handle |
Spawns a task onto the context's executor that polls the given future to completion and returns a future that resolves to the spawned future's output. |
try_join |
Polls multiple futures simultaneously, resolving to a |
try_poll |
Extracts |
try_ready |
Extracts the successful type of a |