Struct tower::limit::concurrency::ConcurrencyLimitLayer
source · [−]pub struct ConcurrencyLimitLayer { /* private fields */ }
Expand description
Enforces a limit on the concurrent number of requests the underlying service can handle.
Implementations
Trait Implementations
sourceimpl Clone for ConcurrencyLimitLayer
impl Clone for ConcurrencyLimitLayer
sourcefn clone(&self) -> ConcurrencyLimitLayer
fn clone(&self) -> ConcurrencyLimitLayer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ConcurrencyLimitLayer
impl Debug for ConcurrencyLimitLayer
sourceimpl<S> Layer<S> for ConcurrencyLimitLayer
impl<S> Layer<S> for ConcurrencyLimitLayer
Auto Trait Implementations
impl RefUnwindSafe for ConcurrencyLimitLayer
impl Send for ConcurrencyLimitLayer
impl Sync for ConcurrencyLimitLayer
impl Unpin for ConcurrencyLimitLayer
impl UnwindSafe for ConcurrencyLimitLayer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more