Module actix::fut::future::result

source ·
Expand description

Definition of the Ready (immediately finished) combinator

Structs

Functions

  • Creates a “leaf future” from an immediate value of a failed computation.
  • Creates a “leaf future” from an immediate value of a finished and successful computation.
  • Creates a future that is immediately ready with a value.
  • Creates a new “leaf future” which will resolve with the given result.