Crate simple_rate_limit
Version 0.2.0
See all simple_rate_limit's items
How many times an event may occur in a given Duration.
Duration
Enforces a RateLimit by maintaining a ring vector of timestamps capped at the RateLimit::count.
RateLimit
RateLimit::count