Module futures::compat[][src]

Interop between futures 0.1 and 0.3.

This module is only available when the compat feature of this library is activated.

Structs

Compat

Converts a futures 0.3 TryFuture or TryStream into a futures 0.1 Future or Stream.

Compat01As03

Converts a futures 0.1 Future, Stream, AsyncRead, or AsyncWrite object to a futures 0.3-compatible version,

Compat01As03Sink

Converts a futures 0.1 Sink object to a futures 0.3-compatible version

CompatSink

Converts a futures 0.3 Sink into a futures 0.1 Sink.

Executor01As03

Converts a futures 0.1 Executor into a futures 0.3 Spawn.

Traits

Executor01CompatExt

Extension trait for futures 0.1 Executor.

Future01CompatExt

Extension trait for futures 0.1 Future

Sink01CompatExt

Extension trait for futures 0.1 Sink

Stream01CompatExt

Extension trait for futures 0.1 Stream

Type Definitions

Executor01Future

A future that can run on a futures 0.1 Executor.