pub struct zbq_consumer_metadata {
pub tail_offset: u64,
pub progress_timestamp: u64,
pub join_baseline: u64,
/* private fields */
}Expand description
4096-byte per-consumer metadata page, page aligned.
A consumer has read-write access to exactly one such page; the producer retains read-write access to all of them.
Fields§
§tail_offset: u64Tail offset known to the consumer, atomically published with release.
progress_timestamp: u64Timestamp relative to join_baseline of the last progress update.
join_baseline: u64Baseline timestamp captured at consumer join time.
Auto Trait Implementations§
impl Freeze for zbq_consumer_metadata
impl RefUnwindSafe for zbq_consumer_metadata
impl Send for zbq_consumer_metadata
impl Sync for zbq_consumer_metadata
impl Unpin for zbq_consumer_metadata
impl UnsafeUnpin for zbq_consumer_metadata
impl UnwindSafe for zbq_consumer_metadata
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