Skip to main content

Module state

Module state 

Source
Expand description

AppState: the shared state every route handler receives via axum::extract::State.

Structs§

AppState
Cheap to clone (an Arc-backed connection pool under the hood, per sqlx, and ActiveRun is itself Arc<Mutex<..>>-backed) – axum’s State extractor just requires Clone to hand a copy to each request.
DemoAcceptedStart
DemoQuotaExceeded
DemoRuntime