Skip to main content

Module state

Module state 

Source
Expand description

Shared application state threaded through Axum handlers via Arc<AppState>.

AppState holds the worker pool, readiness flag, concurrency semaphore, and the live cost-model handle. TuningInfo captures the static memory-detection snapshot written once before the background probe starts.

Structs§

AppState
Shared application state injected into every request handler via [axum::extract::State].
TuningInfo
Static workspace memory info surfaced by the /health endpoint.

Enums§

ProbeStatus
Status of the background memory probe.