pub struct QueueStatsSnapshot {
pub pushes: usize,
pub pops: usize,
pub overflows: usize,
pub underflows: usize,
pub max_size: usize,
}Expand description
Снимок статистики очереди
Fields§
§pushes: usizeКоличество успешных push операций
pops: usizeКоличество успешных pop операций
overflows: usizeКоличество переполнений
underflows: usizeКоличество опустошений
max_size: usizeМаксимальный достигнутый размер
Implementations§
Trait Implementations§
Source§impl Clone for QueueStatsSnapshot
impl Clone for QueueStatsSnapshot
Source§fn clone(&self) -> QueueStatsSnapshot
fn clone(&self) -> QueueStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 QueueStatsSnapshot
impl Debug for QueueStatsSnapshot
Source§impl Default for QueueStatsSnapshot
impl Default for QueueStatsSnapshot
Source§fn default() -> QueueStatsSnapshot
fn default() -> QueueStatsSnapshot
Returns the “default value” for a type. Read more
Source§impl Display for QueueStatsSnapshot
impl Display for QueueStatsSnapshot
impl Copy for QueueStatsSnapshot
Auto Trait Implementations§
impl Freeze for QueueStatsSnapshot
impl RefUnwindSafe for QueueStatsSnapshot
impl Send for QueueStatsSnapshot
impl Sync for QueueStatsSnapshot
impl Unpin for QueueStatsSnapshot
impl UnsafeUnpin for QueueStatsSnapshot
impl UnwindSafe for QueueStatsSnapshot
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