[][src]Trait ratelimit_meter::algorithms::RateLimitState

pub trait RateLimitState<P, I: Relative>: Default + Send + Sync + Eq + Debug { }

Trait that all rate limit states have to implement around housekeeping in keyed rate limiters.

Implementations on Foreign Types

impl RateLimitState<Allower, Always> for ()[src]

Loading content...

Implementors

impl<P: Relative> RateLimitState<GCRA<P>, P> for ratelimit_meter::algorithms::gcra::State<P>[src]

impl<P: Relative> RateLimitState<LeakyBucket<P>, P> for ratelimit_meter::algorithms::leaky_bucket::State<P>[src]

Loading content...