Skip to main content

upgrade

Function upgrade 

Source
pub fn upgrade(options: &UpgradeOptions) -> Result<UpgradeOutcome, AppError>
Expand description

Upgrade an installed instance to this binary’s version.

§Errors

AppError::Violations when conflicts block the upgrade or removals remain unfinished, AppError::Refused when the binary is older than the instance or the reinstall refuses, and manifest errors when the record cannot be read.