#[non_exhaustive]pub struct EventPage {
pub events: Vec<(EventCursor, Event)>,
pub unreadable: usize,
pub last: EventCursor,
}Expand description
A page of the event table (super::Tx::events_page).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.events: Vec<(EventCursor, Event)>The events it read, oldest first, each with its cursor.
unreadable: usizeHow many of its rows weren’t an event this runner reads (another version’s kind).
last: EventCursorThe cursor of the last row it scanned, read or not: where the next page starts.
Trait Implementations§
impl StructuralPartialEq for EventPage
Auto Trait Implementations§
impl Forget for EventPage
impl Freeze for EventPage
impl Move for EventPage
impl RefUnwindSafe for EventPage
impl Send for EventPagewhere
RawVecInner: Send,
impl Sync for EventPagewhere
RawVecInner: Sync,
impl Unpin for EventPage
impl UnsafeUnpin for EventPage
impl UnwindSafe for EventPagewhere
RawVecInner: 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