Module futures_compat::futures_01 [] [src]

futures 0.1.x compatibility.

Structs

Executor01As02

Wrap an Executor from v0.1 as a Executor from v0.2.

Future01As02

Wrap a Future from v0.1 as a Future from v0.2.

Stream01As02

Wrap a Stream from v0.1 as a Stream from v0.2.

TokioAsAsyncIo02

Wrap a IO from tokio-io as an AsyncRead/AsyncWrite from v0.2.

Traits

ExecutorInto02

A trait to convert an Executor from v0.1 into an Executor01As02.

FutureInto02

A trait to convert any Future from v0.1 into a Future01As02.

StreamInto02

A trait to convert any Stream from v0.1 into a Stream01As02.

TokioIntoAsyncIo02

A trait to convert any AsyncRead/AsyncWrite from tokio-io into a TokioAsAsyncIo02.

Functions

with_context

Execute a function with the context used as a v0.1 Notifier.

with_context_poll

Execute a function with the context used as a v0.1 Notifier, converting v0.1 Poll into v0.2 version.