PruneCheckpointWriter

Trait PruneCheckpointWriter 

Source
pub trait PruneCheckpointWriter {
    // Required method
    fn save_prune_checkpoint(
        &self,
        segment: PruneSegment,
        checkpoint: PruneCheckpoint,
    ) -> ProviderResult<()>;
}
Expand description

The trait for updating prune checkpoint related data.

Required Methods§

Source

fn save_prune_checkpoint( &self, segment: PruneSegment, checkpoint: PruneCheckpoint, ) -> ProviderResult<()>

Save prune checkpoint.

Implementations on Foreign Types§

Source§

impl<'a, T: 'a + PruneCheckpointWriter + ?Sized> PruneCheckpointWriter for &'a T

Source§

fn save_prune_checkpoint( &self, segment: PruneSegment, checkpoint: PruneCheckpoint, ) -> ProviderResult<()>

Implementors§