pub struct TenantRuntimeCounters {
pub tenant_id: u32,
pub published_count: u64,
pub drained_count: u64,
pub outstanding_slots: u64,
pub max_outstanding_slots: u64,
pub quiesce_calls: u64,
pub quiesce_timeouts: u64,
pub quiesce_wait_ns: u64,
}Expand description
Host-visible tenant runtime counters.
Fields§
§tenant_id: u32Tenant id.
published_count: u64Number of slots ever published by this tenant.
drained_count: u64Number of slots observed drained for this tenant.
outstanding_slots: u64Current host-visible backlog (published_count - drained_count).
max_outstanding_slots: u64Configured outstanding-slot cap for this tenant.
quiesce_calls: u64Number of quiesce calls recorded for this tenant.
quiesce_timeouts: u64Number of quiesce calls that timed out.
quiesce_wait_ns: u64Cumulative nanoseconds spent waiting for this tenant to drain.
Trait Implementations§
Source§impl Clone for TenantRuntimeCounters
impl Clone for TenantRuntimeCounters
Source§fn clone(&self) -> TenantRuntimeCounters
fn clone(&self) -> TenantRuntimeCounters
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 moreimpl Copy for TenantRuntimeCounters
Source§impl Debug for TenantRuntimeCounters
impl Debug for TenantRuntimeCounters
impl Eq for TenantRuntimeCounters
Source§impl PartialEq for TenantRuntimeCounters
impl PartialEq for TenantRuntimeCounters
Source§fn eq(&self, other: &TenantRuntimeCounters) -> bool
fn eq(&self, other: &TenantRuntimeCounters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TenantRuntimeCounters
Auto Trait Implementations§
impl Freeze for TenantRuntimeCounters
impl RefUnwindSafe for TenantRuntimeCounters
impl Send for TenantRuntimeCounters
impl Sync for TenantRuntimeCounters
impl Unpin for TenantRuntimeCounters
impl UnsafeUnpin for TenantRuntimeCounters
impl UnwindSafe for TenantRuntimeCounters
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<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.