pub struct RuntimeQueueSnapshot {
pub global_queued: usize,
pub providers_queued: BTreeMap<String, usize>,
}Expand description
Queue counters suitable for bounded operational metrics.
Fields§
§global_queued: usizeCallers waiting for the global pool.
providers_queued: BTreeMap<String, usize>Callers waiting per provider.
Trait Implementations§
Source§impl Clone for RuntimeQueueSnapshot
impl Clone for RuntimeQueueSnapshot
Source§fn clone(&self) -> RuntimeQueueSnapshot
fn clone(&self) -> RuntimeQueueSnapshot
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 RuntimeQueueSnapshot
impl Debug for RuntimeQueueSnapshot
impl Eq for RuntimeQueueSnapshot
Source§impl PartialEq for RuntimeQueueSnapshot
impl PartialEq for RuntimeQueueSnapshot
impl StructuralPartialEq for RuntimeQueueSnapshot
Auto Trait Implementations§
impl Freeze for RuntimeQueueSnapshot
impl RefUnwindSafe for RuntimeQueueSnapshot
impl Send for RuntimeQueueSnapshot
impl Sync for RuntimeQueueSnapshot
impl Unpin for RuntimeQueueSnapshot
impl UnsafeUnpin for RuntimeQueueSnapshot
impl UnwindSafe for RuntimeQueueSnapshot
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