Struct tower::limit::RateLimitLayer [−][src]
pub struct RateLimitLayer { /* fields omitted */ }
Expand description
Enforces a rate limit on the number of requests the underlying service can handle over a period of time.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RateLimitLayer
impl Send for RateLimitLayer
impl Sync for RateLimitLayer
impl Unpin for RateLimitLayer
impl UnwindSafe for RateLimitLayer
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more