Structsยง
- Rate
Limit - How many times an event may occur in a given
Duration
. - Rate
Limiter - Enforces a
RateLimit
by maintaining a ring vector of timestamps capped at theRateLimit::count
.
Duration
.RateLimit
by maintaining a ring vector of
timestamps capped at the RateLimit::count
.