Skip to main content

Module limiter

Module limiter 

Source
Expand description

Rate limiters for controlling request throughput.

Structs§

DefaultRateLimiter
A token bucket based rate limiter.
RateLimiterState
A snapshot of the state of the rate limiter.
Token
A token representing permission to make a request. The token tracks when the request was started for timing measurements.

Enums§

RequestOutcome
Whether a request succeeded or failed, potentially due to overload.

Traits§

RateLimiter
Controls the rate of requests over time.