pub struct QueueLinkV2 {
pub version: u16,
pub queue: QueueId,
pub sequence: u64,
pub producer_thread_id: u64,
pub producer_elapsed_ns: u64,
pub consumer_thread_id: u64,
pub consumer_elapsed_ns: u64,
}Expand description
One matched producer enqueue and consumer dequeue through a bounded queue.
Fields§
§version: u16§queue: QueueId§sequence: u64§producer_thread_id: u64§producer_elapsed_ns: u64§consumer_thread_id: u64§consumer_elapsed_ns: u64Trait Implementations§
Source§impl Clone for QueueLinkV2
impl Clone for QueueLinkV2
Source§fn clone(&self) -> QueueLinkV2
fn clone(&self) -> QueueLinkV2
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 QueueLinkV2
impl Debug for QueueLinkV2
Source§impl<'de> Deserialize<'de> for QueueLinkV2
impl<'de> Deserialize<'de> for QueueLinkV2
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 QueueLinkV2
Source§impl PartialEq for QueueLinkV2
impl PartialEq for QueueLinkV2
Source§impl Serialize for QueueLinkV2
impl Serialize for QueueLinkV2
impl StructuralPartialEq for QueueLinkV2
Auto Trait Implementations§
impl Freeze for QueueLinkV2
impl RefUnwindSafe for QueueLinkV2
impl Send for QueueLinkV2
impl Sync for QueueLinkV2
impl Unpin for QueueLinkV2
impl UnsafeUnpin for QueueLinkV2
impl UnwindSafe for QueueLinkV2
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