[][src]Module governor::state

State stores for rate limiters

Re-exports

pub use direct::*;

Modules

direct

Direct rate limiters (those that can only hold one state).

keyed

Keyed rate limiters (those that can hold one state per key).

Structs

InMemoryState

An in-memory representation of a GCRA's rate-limiting state.

RateLimiter

A rate limiter.

Traits

StateStore

A way for rate limiters to keep state.