Module tokio::time::timeout

source ·
Expand description

Allows a future to execute for a maximum amount of time.

See Timeout documentation for more details.

Structs

Functions

  • Requires a Future to complete before the specified duration has elapsed.
  • Requires a Future to complete before the specified instant in time.