Type Alias DefaultKeyedRateLimiter

Source
pub type DefaultKeyedRateLimiter<K, MW = NoOpMiddleware<<DefaultClock as Clock>::Instant>, S = DefaultHasher> = RateLimiter<K, DefaultKeyedStateStore<K, S>, 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ยง

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