pub trait CheckpointSynchronizer: Sync {
// Required methods
fn push(
&self,
checkpoint: Uuid,
storage: Arc<dyn StorageBackend>,
remote_config: SyncConfig,
) -> Result<Option<CheckpointSyncMetrics>>;
fn pull(
&self,
storage: Arc<dyn StorageBackend>,
remote_config: SyncConfig,
) -> Result<(CheckpointMetadata, Option<CheckpointSyncMetrics>)>;
}