Skip to content

Glossary: Rust in Practice

TimeoutLayer

Also written: tower_http timeout

A tower-http layer that answers with a chosen status, such as 408, when a handler takes too long.

Where the book teaches it

Related terms

layerHTTP status codes