Crate task_compat

Source
Expand description

Utilities for compating between futures 0.1 and futures 0.3 tasks.

Functionsยง

poll_01_to_03
Map futures 0.1 poll to std::task::Poll.
poll_03_to_01
Map std::task::Poll to a futures 0.1 poll.
with_context
Map a futures 0.1 notify to a std::task::Context.
with_notify
Map a std::task::Context into the proper context for futures 0.1.