governor

Type Alias DefaultKeyedRateLimiter

source
pub type DefaultKeyedRateLimiter<K, MW = NoOpMiddleware<<DefaultClock as Clock>::Instant>> = RateLimiter<K, DefaultKeyedStateStore<K>, DefaultClock, MW>;
Expand description

A rate limiter with one state per key, running on the default clock.

See the RateLimiter documentation for details.

Aliased Typeยง

struct DefaultKeyedRateLimiter<K, MW = NoOpMiddleware<<DefaultClock as Clock>::Instant>> { /* private fields */ }