pub enum ShedReason {
GlobalLimitExceeded,
PrefixLimitExceeded,
WaitTimedOut,
}Expand description
Reason why a concurrency acquisition was shed (503 Service Unavailable).
Variants§
GlobalLimitExceeded
Global in-flight limit (or adaptive effective limit) was saturated.
PrefixLimitExceeded
Matched route-prefix in-flight limit was saturated.
WaitTimedOut
Bounded wait timeout expired before a concurrency slot became available.
Trait Implementations§
Source§impl Clone for ShedReason
impl Clone for ShedReason
impl Copy for ShedReason
Source§impl Debug for ShedReason
impl Debug for ShedReason
impl Eq for ShedReason
Source§impl PartialEq for ShedReason
impl PartialEq for ShedReason
impl StructuralPartialEq for ShedReason
Auto Trait Implementations§
impl Forget for ShedReason
impl Freeze for ShedReason
impl Move for ShedReason
impl RefUnwindSafe for ShedReason
impl Send for ShedReason
impl Sync for ShedReason
impl Unpin for ShedReason
impl UnsafeUnpin for ShedReason
impl UnwindSafe for ShedReason
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.