Module timeout

Source
Expand description

Based on https://github.com/tower-rs/tower-http/blob/main/tower-http/src/timeout/service.rs, but allowing to customize the response

Structsยง

ResponseFuture
Response future for Timeout.
Timeout
Middleware which apply a timeout to requests.
TimeoutLayer
Layer that applies the Timeout middleware which apply a timeout to requests.