Struct tower::limit::ConcurrencyLimitLayer [−][src]
pub struct ConcurrencyLimitLayer { /* fields omitted */ }
This is supported on crate feature
limit
only.Enforces a limit on the concurrent number of requests the underlying service can handle.
Implementations
Trait Implementations
impl Clone for ConcurrencyLimitLayer
[src]
impl Clone for ConcurrencyLimitLayer
[src]fn clone(&self) -> ConcurrencyLimitLayer
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S> Layer<S> for ConcurrencyLimitLayer
[src]
impl<S> Layer<S> for ConcurrencyLimitLayer
[src]type Service = ConcurrencyLimit<S>
The wrapped service
fn layer(&self, service: S) -> Self::Service
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConcurrencyLimitLayer
impl RefUnwindSafe for ConcurrencyLimitLayer
impl Send for ConcurrencyLimitLayer
impl Send for ConcurrencyLimitLayer
impl Sync for ConcurrencyLimitLayer
impl Sync for ConcurrencyLimitLayer
impl Unpin for ConcurrencyLimitLayer
impl Unpin for ConcurrencyLimitLayer
impl UnwindSafe for ConcurrencyLimitLayer
impl UnwindSafe for ConcurrencyLimitLayer
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>,