CheckpointSynchronizer

Trait CheckpointSynchronizer 

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

Required Methods§

Source

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

Source

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

Trait Implementations§

Implementors§