pub struct ReadyQueueStateSnapshot {
pub ready_count: usize,
pub connection_count: usize,
pub connection_rate_throttled: Option<QueueState>,
pub connection_limited: Option<QueueState>,
pub suspended: Option<SuspendReadyQueueV1ListEntry>,
pub watchdog_threshold: Duration,
}Expand description
Snapshot of the operational state of a ready queue.
{{since(‘dev’)}}
Fields§
§ready_count: usize§connection_count: usize§connection_rate_throttled: Option<QueueState>§connection_limited: Option<QueueState>§suspended: Option<SuspendReadyQueueV1ListEntry>§watchdog_threshold: DurationEffective progress watchdog timeout for this queue, honoring the per-egress-path config or the protocol-derived default.
Trait Implementations§
Source§impl ComposeSchema for ReadyQueueStateSnapshot
impl ComposeSchema for ReadyQueueStateSnapshot
Source§impl Debug for ReadyQueueStateSnapshot
impl Debug for ReadyQueueStateSnapshot
Source§impl<'de> Deserialize<'de> for ReadyQueueStateSnapshot
impl<'de> Deserialize<'de> for ReadyQueueStateSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ReadyQueueStateSnapshot
impl Serialize for ReadyQueueStateSnapshot
Source§impl<'__r> ToResponse<'__r> for ReadyQueueStateSnapshot
impl<'__r> ToResponse<'__r> for ReadyQueueStateSnapshot
Auto Trait Implementations§
impl Freeze for ReadyQueueStateSnapshot
impl RefUnwindSafe for ReadyQueueStateSnapshot
impl Send for ReadyQueueStateSnapshot
impl Sync for ReadyQueueStateSnapshot
impl Unpin for ReadyQueueStateSnapshot
impl UnwindSafe for ReadyQueueStateSnapshot
Blanket Implementations§
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more