Type Alias governor::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 */ }