Skip to main content

Module timeout

Module timeout 

Source
Expand description

Service that applies a timeout to requests.

If a service call does not complete within the configured timeout, its future is dropped and TimeoutError::Timeout is returned. If both complete during the same poll, the service result wins.

Structs§

Timeout
Applies a timeout to requests.
TimeoutService
A service that applies a timeout to each request.

Enums§

TimeoutError
Error returned by a timed service call.