pub struct CdcReadResult {
pub events: Vec<CdcEvent>,
pub next_seq: u64,
pub gap: bool,
}Expand description
Outcome of a CdcRing::read call.
Fields§
§events: Vec<CdcEvent>The batch of events returned by this read.
next_seq: u64The sequence number the caller should pass to the next read.
gap: booltrue when the requested from_seq had already been evicted,
meaning the consumer missed one or more events.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CdcReadResult
impl RefUnwindSafe for CdcReadResult
impl Send for CdcReadResult
impl Sync for CdcReadResult
impl Unpin for CdcReadResult
impl UnsafeUnpin for CdcReadResult
impl UnwindSafe for CdcReadResult
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