☰
Module rate_limiter
Structs
Traits
Functions
?
Module
libp2p_relay
::
v2
::
relay
::
rate_limiter
source
·
[
−
]
Structs
GenericRateLimiter
Rate limiter using the
Token Bucket
algorithm.
GenericRateLimiterConfig
Configuration for a
RateLimiter
.
Traits
RateLimiter
Allows rate limiting access to some resource based on the
PeerId
and
Multiaddr
of a remote peer.
Functions
new_per_ip
new_per_peer