pub struct CheckpointTuple {
pub config: RunnableConfig,
pub checkpoint: Checkpoint,
pub metadata: CheckpointMetadata,
pub pending_writes: Vec<PendingWrite>,
pub parent_config: Option<RunnableConfig>,
}Expand description
Complete checkpoint tuple with all context
Combines checkpoint data with its metadata, configuration, and pending writes. This is the primary structure returned from checkpoint storage for recovery.
Fields§
§config: RunnableConfigConfiguration containing thread_id, checkpoint_id, and checkpoint_ns
checkpoint: CheckpointThe checkpoint itself
metadata: CheckpointMetadataCheckpoint metadata
pending_writes: Vec<PendingWrite>Incremental writes since this checkpoint
Used for crash recovery: these writes completed after the checkpoint and before the next checkpoint, so they don’t need to be re-executed.
parent_config: Option<RunnableConfig>Parent checkpoint configuration
Used for time-travel navigation.
Trait Implementations§
Source§impl Clone for CheckpointTuple
impl Clone for CheckpointTuple
Source§fn clone(&self) -> CheckpointTuple
fn clone(&self) -> CheckpointTuple
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for CheckpointTuple
impl !UnwindSafe for CheckpointTuple
impl Freeze for CheckpointTuple
impl Send for CheckpointTuple
impl Sync for CheckpointTuple
impl Unpin for CheckpointTuple
impl UnsafeUnpin for CheckpointTuple
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