pub struct PendingEntry {
pub event_seq: u64,
pub delivery_count: u32,
pub first_delivery: Instant,
pub last_delivery: Instant,
}Expand description
An event that has been delivered to a consumer but not yet acknowledged.
Tracks delivery metadata so the system can detect stalled consumers and redeliver entries that have exceeded the idle timeout.
Fields§
§event_seq: u64Sequence number of the underlying CdcEvent.
delivery_count: u32How many times this entry has been delivered (initial + redeliveries).
first_delivery: InstantInstant of the very first delivery attempt.
last_delivery: InstantInstant of the most recent delivery attempt.
Trait Implementations§
Source§impl Clone for PendingEntry
impl Clone for PendingEntry
Source§fn clone(&self) -> PendingEntry
fn clone(&self) -> PendingEntry
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 moreAuto Trait Implementations§
impl Freeze for PendingEntry
impl RefUnwindSafe for PendingEntry
impl Send for PendingEntry
impl Sync for PendingEntry
impl Unpin for PendingEntry
impl UnsafeUnpin for PendingEntry
impl UnwindSafe for PendingEntry
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