DefaultKeyedRateLimiter

Type Alias DefaultKeyedRateLimiter 

Source
pub type DefaultKeyedRateLimiter<K, MW = NoOpMiddleware, S = RandomState> = RateLimiter<K, DashMap<K, InMemoryState, S>, QuantaClock, 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, S = RandomState> { /* private fields */ }