Skip to content

Glossary: Rust in Practice

handler

Also written: handlers

An async function that Axum calls to answer requests on a route, such as `get_product`.

Where the book teaches it

Related terms

IntoResponsemiddleware