Skip to content

Glossary: Rust in Practice

IntoResponse

An Axum trait that turns a value into an HTTP response. Implementing it for `AppError` lets handlers return errors as a status and JSON.

Where the book teaches it

Related terms

handler