Expand description
Rate limiting implementation.
Structs§
- Rate
Limit Charge - One slot in one address’s window, identifying the request that took it.
- Rate
Limit Config - Rate limiter configuration.
- Rate
Limit Stats - Rate limit statistics.
- Rate
Limiter - Thread-safe rate limiter.
Enums§
- Rate
Limit Decision - What the limiter decided about one request.
Functions§
- rate_
limit_ middleware - Rate limit middleware for axum.