pub struct PendingQueueMetrics {
pub pending_messages_received_total: u64,
pub pending_messages_evicted_total: u64,
pub pending_messages_dropped_overflow_total: u64,
pub pending_messages_expired_total: u64,
pub pending_messages_eviction_failures_total: u64,
pub pending_queue_invariant_violations_total: u64,
pub pending_messages_current: usize,
pub pending_bytes_current: usize,
pub pending_messages_per_peer: HashMap<String, usize>,
}Expand description
Counters and gauges for pending encrypted message queue pressure.
Fields§
§pending_messages_received_total: u64Total encrypted messages received before session readiness.
pending_messages_evicted_total: u64Total queued messages evicted from pending storage.
pending_messages_dropped_overflow_total: u64Total messages dropped due to overflow policy decisions.
pending_messages_expired_total: u64Total pending messages expired due to TTL.
pending_messages_eviction_failures_total: u64Number of failed eviction attempts while enforcing hard bounds.
pending_queue_invariant_violations_total: u64Number of detected pending queue invariant violations.
pending_messages_current: usizeCurrent number of messages in pending queues across all peers.
pending_bytes_current: usizeCurrent payload bytes (content plus binary content) queued across all peers.
pending_messages_per_peer: HashMap<String, usize>Current per-peer pending queue sizes.
Trait Implementations§
Source§impl Clone for PendingQueueMetrics
impl Clone for PendingQueueMetrics
Source§fn clone(&self) -> PendingQueueMetrics
fn clone(&self) -> PendingQueueMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PendingQueueMetrics
impl Debug for PendingQueueMetrics
Source§impl Default for PendingQueueMetrics
impl Default for PendingQueueMetrics
Source§fn default() -> PendingQueueMetrics
fn default() -> PendingQueueMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PendingQueueMetrics
impl RefUnwindSafe for PendingQueueMetrics
impl Send for PendingQueueMetrics
impl Sync for PendingQueueMetrics
impl Unpin for PendingQueueMetrics
impl UnsafeUnpin for PendingQueueMetrics
impl UnwindSafe for PendingQueueMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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