Extension methods and types for the Future trait.
Future
Run a future until it resolves, or until a deadline is hit.
Extend the Future trait with the until method.
until