logo
pub trait Checkpointer: Processor {
    fn checkpoint(
        &self,
        f: &mut dyn FnMut(&mut dyn LockedCheckpointer)
    ) -> Result<(), MetricsError>; }
Available on crate feature metrics only.
Expand description

The interface used to create checkpoints.

Required Methods

Synchronizes the checkpoint process and allows a single locked checkpoint to be accessed at a time.

Implementors