Crate simple_rate_limit
Version 0.1.0
See all simple_rate_limit's items
A RateLimit is how many times an event may occur in a given period of time.
RateLimit
A RateLimiter enforces a RateLimit by maintaining a ring vector of timestamps capped at the RateLimit::count.
RateLimiter
RateLimit::count