Glossary: Rust Beyond the Basics
Router
Also written: route, routes, with_state
Axum's type that maps requests (method and path) to handlers; `.with_state(...)` gives every handler shared data.
Glossary: Rust Beyond the Basics
Also written: route, routes, with_state
Axum's type that maps requests (method and path) to handlers; `.with_state(...)` gives every handler shared data.