pub struct QueueDepthV2 {
pub version: u16,
pub queue: QueueId,
pub current: u64,
pub high_water: u64,
pub enqueues: u64,
pub dequeues: u64,
}Expand description
Current depth and high-water mark for one bounded queue slot.
Fields§
§version: u16§queue: QueueId§current: u64§high_water: u64§enqueues: u64§dequeues: u64Trait Implementations§
Source§impl Clone for QueueDepthV2
impl Clone for QueueDepthV2
Source§fn clone(&self) -> QueueDepthV2
fn clone(&self) -> QueueDepthV2
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 QueueDepthV2
impl Debug for QueueDepthV2
Source§impl<'de> Deserialize<'de> for QueueDepthV2
impl<'de> Deserialize<'de> for QueueDepthV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for QueueDepthV2
Source§impl PartialEq for QueueDepthV2
impl PartialEq for QueueDepthV2
Source§impl Serialize for QueueDepthV2
impl Serialize for QueueDepthV2
impl StructuralPartialEq for QueueDepthV2
Auto Trait Implementations§
impl Freeze for QueueDepthV2
impl RefUnwindSafe for QueueDepthV2
impl Send for QueueDepthV2
impl Sync for QueueDepthV2
impl Unpin for QueueDepthV2
impl UnsafeUnpin for QueueDepthV2
impl UnwindSafe for QueueDepthV2
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