pub trait PruneCheckpointWriter: Send + Sync {
// Required method
fn save_prune_checkpoint(
&self,
segment: PruneSegment,
checkpoint: PruneCheckpoint,
) -> ProviderResult<()>;
}
Expand description
The trait for updating prune checkpoint related data.
Required Methods§
Sourcefn save_prune_checkpoint(
&self,
segment: PruneSegment,
checkpoint: PruneCheckpoint,
) -> ProviderResult<()>
fn save_prune_checkpoint( &self, segment: PruneSegment, checkpoint: PruneCheckpoint, ) -> ProviderResult<()>
Save prune checkpoint.