The Generic Cell Rate Algorithm
A classic leaky bucket algorithm
The trait that implementations of metered rate-limiter algorithms have to implement.
Provides additional information about non-conforming cells, most importantly the earliest time until the next cell could be considered conforming.
Trait that all rate limit states have to implement around housekeeping in keyed rate limiters.
The default rate limiting algorithm in this crate: The "leaky bucket".