Crate futures_util[][src]

Combinators and utilities for working with Futures, Streams, Sinks, and the AsyncRead and AsyncWrite traits.

Modules

async_await

Await

future

Futures

io

IO

sink

Sinks

stream

Streams

task

Task notification

try_future

Futures

try_stream

Streams

Macros

join
pending

A macro which yields to the event loop once. This is similar to returning Poll::Pending from a Future::poll implementation. If pending! is used, the current task should be scheduled to receive a wakeup when it is ready to make progress.

pin_mut

Pins a value on the stack.

poll

A macro which returns the result of polling a future once within the current async context.

ready

Extracts the successful type of a Poll<T>.

select
try_poll

Extracts Poll<T> from Poll<Result<T, E>>.

try_ready

Extracts the successful type of a Poll<Result<T, E>>.

unsafe_pinned

A pinned projection of a struct field.

unsafe_unpinned

An unpinned projection of a struct field.