Skip to main content

RemoteBackupAdapter

Trait RemoteBackupAdapter 

Source
pub trait RemoteBackupAdapter: Send + Sync {
    // Required methods
    fn store_backup_dir(
        &self,
        uri: &str,
        backup_dir: &Path,
    ) -> Result<(), AedbError>;
    fn materialize_backup_chain(
        &self,
        uri: &str,
        scratch_dir: &Path,
    ) -> Result<Vec<PathBuf>, AedbError>;
}

Required Methods§

Source

fn store_backup_dir( &self, uri: &str, backup_dir: &Path, ) -> Result<(), AedbError>

Source

fn materialize_backup_chain( &self, uri: &str, scratch_dir: &Path, ) -> Result<Vec<PathBuf>, AedbError>

Implementors§