futures_util::future

Module poll_immediate

Source

Structs§

Functions§

  • Creates a future that is immediately ready with an Option of a value. Specifically this means that poll always returns Poll::Ready.