pub struct QueueSnapshot {
pub name: TrackedLimit,
pub category: LimitCategory,
pub depth: usize,
pub high_water: usize,
pub capacity: usize,
pub fill_percent: usize,
}Expand description
Immutable view of a tracked limit’s usage, returned by queue_snapshot.
Fields§
§name: TrackedLimit§category: LimitCategory§depth: usize§high_water: usize§capacity: usize§fill_percent: usizeTrait Implementations§
Source§impl Clone for QueueSnapshot
impl Clone for QueueSnapshot
Source§fn clone(&self) -> QueueSnapshot
fn clone(&self) -> QueueSnapshot
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 QueueSnapshot
impl Debug for QueueSnapshot
impl Eq for QueueSnapshot
Source§impl PartialEq for QueueSnapshot
impl PartialEq for QueueSnapshot
Source§fn eq(&self, other: &QueueSnapshot) -> bool
fn eq(&self, other: &QueueSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueueSnapshot
Auto Trait Implementations§
impl Freeze for QueueSnapshot
impl RefUnwindSafe for QueueSnapshot
impl Send for QueueSnapshot
impl Sync for QueueSnapshot
impl Unpin for QueueSnapshot
impl UnsafeUnpin for QueueSnapshot
impl UnwindSafe for QueueSnapshot
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