pub struct QueueStats {
pub capacity: u64,
pub len: u64,
pub head: u64,
pub tail: u64,
pub region_size: u64,
}Expand description
Snapshot of queue state.
Fields§
§capacity: u64§len: u64§head: u64§tail: u64§region_size: u64Trait Implementations§
Source§impl Clone for QueueStats
impl Clone for QueueStats
Source§fn clone(&self) -> QueueStats
fn clone(&self) -> QueueStats
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 QueueStats
Source§impl Debug for QueueStats
impl Debug for QueueStats
impl Eq for QueueStats
Source§impl PartialEq for QueueStats
impl PartialEq for QueueStats
impl StructuralPartialEq for QueueStats
Auto Trait Implementations§
impl Freeze for QueueStats
impl RefUnwindSafe for QueueStats
impl Send for QueueStats
impl Sync for QueueStats
impl Unpin for QueueStats
impl UnsafeUnpin for QueueStats
impl UnwindSafe for QueueStats
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