pub struct InterleavedSnapshotCheckpoint {
pub reconciliation_pos: Value,
pub tables: Vec<SnapshotTableProgress>,
}Expand description
Resumable checkpoint describing the state of an in-progress interleaved snapshot.
Fields§
§reconciliation_pos: ValueCurrent reconciliation stream position, serialized as JSON.
On resume the snapshot continues consuming the change stream from this position; on completion this is the position handed off to downstream replication-tail processing.
tables: Vec<SnapshotTableProgress>Per-table copy progress.
Implementations§
Trait Implementations§
Source§impl Checkpoint for InterleavedSnapshotCheckpoint
impl Checkpoint for InterleavedSnapshotCheckpoint
Source§const DATABASE_TYPE: &'static str = "interleaved_snapshot"
const DATABASE_TYPE: &'static str = "interleaved_snapshot"
Database type identifier (e.g., “mongodb”, “neo4j”, “postgresql”, “mysql”).
Source§fn to_cli_string(&self) -> String
fn to_cli_string(&self) -> String
Convert to CLI-friendly string format.
Source§fn from_cli_string(s: &str) -> Result<Self>
fn from_cli_string(s: &str) -> Result<Self>
Parse from CLI string format.
Source§impl Clone for InterleavedSnapshotCheckpoint
impl Clone for InterleavedSnapshotCheckpoint
Source§fn clone(&self) -> InterleavedSnapshotCheckpoint
fn clone(&self) -> InterleavedSnapshotCheckpoint
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<'de> Deserialize<'de> for InterleavedSnapshotCheckpoint
impl<'de> Deserialize<'de> for InterleavedSnapshotCheckpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for InterleavedSnapshotCheckpoint
Auto Trait Implementations§
impl Freeze for InterleavedSnapshotCheckpoint
impl RefUnwindSafe for InterleavedSnapshotCheckpoint
impl Send for InterleavedSnapshotCheckpoint
impl Sync for InterleavedSnapshotCheckpoint
impl Unpin for InterleavedSnapshotCheckpoint
impl UnsafeUnpin for InterleavedSnapshotCheckpoint
impl UnwindSafe for InterleavedSnapshotCheckpoint
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