[][src]Crate governor

Modules

clock

Time sources for rate limiters.

Structs

DirectRateLimiter

An in-memory rate limiter that makes direct (un-keyed) rate-limiting decisions. Direct rate limiters can be used to e.g. regulate the transmission of packets on a single connection, or to ensure that an API client stays within a service's rate limit.

NotUntil

A negative rate-limiting outcome.

Quota

A rate-limiting quota in cells per unit of time.

Enums

NegativeMultiDecision

Gives additional information about the negative outcome of a batch cell decision.