Struct tower::limit::rate::RateLimitLayer [−][src]
pub struct RateLimitLayer { /* fields omitted */ }
This is supported on crate feature
limit
only.Enforces a rate limit on the number of requests the underlying service can handle over a period of time.
Implementations
impl RateLimitLayer
[src]
impl RateLimitLayer
[src]Trait Implementations
impl Clone for RateLimitLayer
[src]
impl Clone for RateLimitLayer
[src]fn clone(&self) -> RateLimitLayer
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for RateLimitLayer
impl RefUnwindSafe for RateLimitLayer
impl Send for RateLimitLayer
impl Send for RateLimitLayer
impl Sync for RateLimitLayer
impl Sync for RateLimitLayer
impl Unpin for RateLimitLayer
impl Unpin for RateLimitLayer
impl UnwindSafe for RateLimitLayer
impl UnwindSafe for RateLimitLayer
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,