Module token_bucket

Source
Expand description

A token bucket implementation, and async types which use the token bucket for rate limiting.

Modules§

bucket 🔒
A token bucket implementation.
dynamic_writer 🔒
An [AsyncWrite] rate limiter which receives rate limit changes from a [FusedStream].
writer 🔒
An [AsyncWrite] rate limiter.