Module futures_compat::futures_02 [] [src]

futures 0.2.x compatibility.

Structs

AsyncIo02AsTokio

Wrap some AsyncRead or AsyncWrite from v0.2 as the same from tokio-io.

BoxedExecutor02

A wrapper of Box<Executor> because it's missing from the futures crate (lolz).

Future02As01

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

Future02NeverAs01Unit

A Future02As01 that maps errors of Never to ().

Stream02As01

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

Traits

AsyncIoIntoTokio

A trait to convert any AsyncRead/AsyncWrite from v0.2 into a AsyncIo02AsTokio.

FutureInto01

A trait to convert any Future from v0.2 into a Future02As01.

StreamInto01

A trait to convert any Stream from v0.2 into a Stream02As01.