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