Module futures_util::compat
source · Available on crate feature
compat
only.Expand description
Interop between futures
0.1 and 0.3.
This module is only available when the compat
feature of this
library is activated.
Structs
- Converts a futures 0.1 Future, Stream, AsyncRead, or AsyncWrite object to a futures 0.3-compatible version,
- Compat01As03Sink
sink
Converts a futures 0.1 Sink object to a futures 0.3-compatible version - CompatSink
sink
Traits
- AsyncRead01CompatExt
io-compat
Extension trait for tokio-ioAsyncRead
- AsyncWrite01CompatExt
io-compat
Extension trait for tokio-ioAsyncWrite
- Extension trait for futures 0.1
Executor
. - Extension trait for futures 0.1
Future
- Sink01CompatExt
sink
Extension trait for futures 0.1Sink
- Extension trait for futures 0.1
Stream
Type Aliases
- A future that can run on a futures 0.1
Executor
.