Module diem_rate_limiter::rate_limit [−][src]
Structs
A token bucket object that keeps track of everything related to a key
This can be used as a standalone rate limiter; however, to make it more useful
it should be wrapped in an Arc and a Mutex to be shared across threads.
A generic token bucket filter