Available on crate feature
ratelimit
only.Expand description
Ratelimit support
Macros§
- Create non-zero values from constant literals easily.
Structs§
- A predicate with a direct rate limiter.
- An interval specification for deviating from the nominal wait time.
- Represents a rate limit key for a chat.
- Represents a rate limit key for a user in a chat.
- Represents a rate limit key for a user.
- A predicate with keyed rate limiter.
- Discards updates when the rate limit is reached.
- Allows update to pass as soon as the rate limiter allows it.
- Wait without jitter.
- A rate-limiting quota.
Traits§
- Represents a key for a keyed rate limiter.