Glossary: Rust Beyond the Basics
State
Also written: shared state, application state
Data an Axum router hands to every handler, stored with `.with_state(...)` and read with the `State` extractor, usually an `Arc<Mutex<...>>`.
Glossary: Rust Beyond the Basics
Also written: shared state, application state
Data an Axum router hands to every handler, stored with `.with_state(...)` and read with the `State` extractor, usually an `Arc<Mutex<...>>`.