futures_core

Module future

Source
Expand description

Futures.

Structs§

  • A future representing a value which may or may not be present.
  • A future representing a value that is immediately ready.

Traits§

  • A future represents an asychronous computation that may fail.
  • Types that can be converted into a future.

Functions§

  • Creates a new future that will immediately fail with the given error.
  • Creates a new future that will immediately resolve successfully to the given value.
  • Creates a new future that will immediate resolve with the given result.