[][src]Crate simple_rate_limit

Structs

RateLimit

A RateLimit is how many times an event may occur in a given period of time.

RateLimiter

A RateLimiter enforces a RateLimit by maintaining a ring vector of timestamps capped at the RateLimit::count.