Function rustic_rs::commands::open_repository_with_progress
source · fn open_repository_with_progress<P: Clone>(
repo_opts: &AllRepositoryOptions,
po: P,
) -> Result<Repository<P, OpenStatus>>Expand description
Open the repository with the given options
§Arguments
repo_opts- The repository options
§Errors
RepositoryErrorKind::ReadingPasswordFromReaderFailed- If reading the password failedRepositoryErrorKind::OpeningPasswordFileFailed- If opening the password file failedRepositoryErrorKind::PasswordCommandParsingFailed- If parsing the password command failedRepositoryErrorKind::ReadingPasswordFromCommandFailed- If reading the password from the command failedRepositoryErrorKind::FromSplitError- If splitting the password command failed