[−][src]Module governor::state::direct
Direct rate limiters (those that can only hold one state).
Rate limiters based on these types are constructed with
the RateLimiter
constructors
Structs
InsufficientCapacity | An error that occurs when the number of cells required in |
RatelimitedSink | A [ |
RatelimitedStream | A [ |
Enums
NotKeyed | The "this state store does not use keys" key type. |
Traits
DirectStateStore | A trait for state stores that only keep one rate limiting state. |
SinkRateLimitExt | Allows converting a [ |
StreamRateLimitExt | Allows converting a [ |