Module token_bucket

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.