pub async fn rate_limit(
__arg0: State<Arc<ServerState>>,
__arg1: ConnectInfo<SocketAddr>,
limiter: Extension<Arc<AuthRateLimiter>>,
request: Request,
next: Next,
) -> ResponseExpand description
Per-source-IP rate limit middleware. Reads
[server].auth_rate_limit_per_minute from ServerState; when None,
the middleware is a no-op (operators rate-limit at the proxy).