Skip to main content

open_archive

Function open_archive 

Source
pub fn open_archive(args: &RestoreArgs) -> Result<ArchiveStore, RestoreError>
Expand description

Build the archive handle the --archive-* flags describe.

ยงErrors

Returns RestoreError::ObjectStore when the backend builder rejects the bucket, region, endpoint, or credentials, and RestoreError::InvalidArgument when no backend was selected.