Expand description
Allows a future to execute for a maximum amount of time.
See Timeout
documentation for more details.
Structs§
- Future returned by
timeout
andtimeout_at
.
Functions§
- Requires a
Future
to complete before the specified duration has elapsed. - Requires a
Future
to complete before the specified instant in time.