pub enum CatalogReplayEvent {
PutRow(CatalogSnapshotRow),
DeleteRow {
epoch: u64,
table: Symbol,
key: Symbol,
},
Sequence {
epoch: u64,
name: Symbol,
next: u64,
},
}Expand description
A single event within a CatalogReplay.
Variants§
PutRow(CatalogSnapshotRow)
Insert or replace a row.
DeleteRow
Delete a row.
Fields
Sequence
Set a sequence value.
Trait Implementations§
Source§impl Clone for CatalogReplayEvent
impl Clone for CatalogReplayEvent
Source§fn clone(&self) -> CatalogReplayEvent
fn clone(&self) -> CatalogReplayEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CatalogReplayEvent
impl Debug for CatalogReplayEvent
impl Eq for CatalogReplayEvent
Source§impl PartialEq for CatalogReplayEvent
impl PartialEq for CatalogReplayEvent
Source§fn eq(&self, other: &CatalogReplayEvent) -> bool
fn eq(&self, other: &CatalogReplayEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatalogReplayEvent
Auto Trait Implementations§
impl Freeze for CatalogReplayEvent
impl RefUnwindSafe for CatalogReplayEvent
impl Send for CatalogReplayEvent
impl Sync for CatalogReplayEvent
impl Unpin for CatalogReplayEvent
impl UnsafeUnpin for CatalogReplayEvent
impl UnwindSafe for CatalogReplayEvent
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