Module governor::state::keyed

source ·
Expand description

Keyed rate limiters (those that can hold one state per key).

These are rate limiters that have one set of parameters (burst capacity per time period) but apply those to several sets of actual rate-limiting states, e.g. to enforce one API call rate limit per API key.

Rate limiters based on these types are constructed with the RateLimiter constructors

Traits§

Type Aliases§