Trait CheckpointSynchronizer

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

Required Methods§

Source

fn push( &self, checkpoint: &CheckpointMetadata, storage: Arc<dyn StorageBackend>, remote_config: SyncConfig, ) -> Result<(), SyncError>

Source

fn pull( &self, storage: Arc<dyn StorageBackend>, remote_config: SyncConfig, ) -> Result<(), SyncError>

Trait Implementations§

Implementors§