Struct rzbackup::Repository
[−]
[src]
pub struct Repository { // some fields omitted }
pub struct Repository { // some fields omitted }
impl Repository
[src]fn open(repository_path: &str, password_file_path: Option<&str>) -> Result<Repository, String>
fn read_and_expand_backup(&mut self, backup_name: &str) -> Result<Vec<u8>, String>
fn restore(&mut self, backup_name: &str, output: &mut Write) -> Result<(), String>
fn restore_test(&mut self, backup_name: &str, output: &mut Write) -> Result<(), String>
fn follow_instruction(&mut self, backup_instruction: &BackupInstruction, output: &mut Write) -> Result<(), String>
fn follow_instructions(&mut self, input: &mut Read, output: &mut Write, progress: &Fn(u64)) -> Result<(), String>
fn get_chunk(&mut self, chunk_id: [u8; 24]) -> Result<Arc<Vec<u8>>, String>
fn get_index_entry(&mut self, chunk_id: &[u8; 24]) -> Result<&MasterIndexEntry, String>
fn open_backup(&mut self, backup_name: &str) -> Result<RandomAccess, String>
fn storage_info(&self) -> &StorageInfo
fn encryption_key(&self) -> Option<[u8; 16]>