Struct tower::limit::rate::RateLimitLayer [−][src]
pub struct RateLimitLayer { /* fields omitted */ }
This is supported on crate feature
limit
only.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
pub fn vzip(self) -> V
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