[][src]Module futures::compat

Interop between futures 0.1 and 0.3.

Structs

Compat

Converts a futures 0.3 TryFuture, TryStream or Sink into a futures 0.1 Future, Stream or Sink and vice versa.

Executor01As03

Converts a futures 0.1 Executor into a futures 0.3 Spawn.

TokioDefaultSpawner

A spawner that delegates to tokio's DefaultExecutor, will panic if used in the context of a task that is not running on tokio's executor.

Traits

Executor01CompatExt

Extension trait for futures 0.1 Executor.

Future01CompatExt

Extension trait for futures 0.1 Future

Stream01CompatExt

Extension trait for futures 0.1 Stream

Type Definitions

Executor01Future

A future that can run on a futures 0.1 Executor.