pub async fn network_profile_middleware(
__arg0: State<NetworkProfileRuntimeState>,
req: Request,
next: Next,
) -> ResponseExpand description
Middleware that applies the active profile’s latency before passing
to the next layer. Reads NetworkProfileRuntimeState::active() per
request — a swap takes effect on the very next call.