pub struct QueueRecord<T> {
pub ext_seq: u64,
pub ref_ext_time_us: u64,
pub record: T,
}Expand description
Minimal consumer-side contract for a single globally ordered queue.
poll() yields records in source order. commit_through(ext_seq) advances
the durable consumed boundary only after downstream committed durability has
been established.
Fields§
§ext_seq: u64Queue-level source sequence.
ref_ext_time_us: u64Source-provided reference time in microseconds.
record: TOpaque record payload.
Trait Implementations§
Source§impl<T: Clone> Clone for QueueRecord<T>
impl<T: Clone> Clone for QueueRecord<T>
Source§fn clone(&self) -> QueueRecord<T>
fn clone(&self) -> QueueRecord<T>
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<T: Debug> Debug for QueueRecord<T>
impl<T: Debug> Debug for QueueRecord<T>
Source§impl<T: PartialEq> PartialEq for QueueRecord<T>
impl<T: PartialEq> PartialEq for QueueRecord<T>
impl<T: Eq> Eq for QueueRecord<T>
impl<T> StructuralPartialEq for QueueRecord<T>
Auto Trait Implementations§
impl<T> Freeze for QueueRecord<T>where
T: Freeze,
impl<T> RefUnwindSafe for QueueRecord<T>where
T: RefUnwindSafe,
impl<T> Send for QueueRecord<T>where
T: Send,
impl<T> Sync for QueueRecord<T>where
T: Sync,
impl<T> Unpin for QueueRecord<T>where
T: Unpin,
impl<T> UnsafeUnpin for QueueRecord<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for QueueRecord<T>where
T: UnwindSafe,
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