/// Configuration validation errors returned by rate-limiter constructors.
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]pubenumRateLimitError{/// Configured rate or refill token count was zero.
ZeroRate,/// Configured burst size was zero.
ZeroBurst,/// Configured period, window, or emission interval was zero.
ZeroPeriod,/// Configured limit was zero or exceeded the lock-free 32-bit bound.
InvalidLimit,/// Configured token-bucket capacity was zero or exceeded the lock-free 32-bit bound.
InvalidCapacity,/// Configured keyed limiter entry capacity was zero.
ZeroCapacity,/// Intermediate nanosecond calculation overflowed `u64`.
Overflow,}