Expand description
Direct rate limiters (those that can only hold one state).
Rate limiters based on these types are constructed with
the RateLimiter
constructors
Structs§
- A
Sink
combinator that only allows sending elements when the rate-limiter allows it. - A
Stream
combinator which will limit the rate of items being received.
Enums§
- The “this state store does not use keys” key type.
Traits§
- A trait for state stores that only keep one rate limiting state.
- Allows converting a
futures::Sink
combinator into a rate-limited sink. - Allows converting a
futures::Stream
combinator into a rate-limited stream.