pub enum UpgradeDecision {
Upgrade,
UpToDate,
Downgrade,
DevBuild,
}Expand description
The outcome of comparing the current build version against a release manifest.
Variants§
Upgrade
The manifest version is newer. Upgrade should proceed.
UpToDate
The versions are identical. Already up to date.
Downgrade
The available version is older. Downgrade refused unless the caller explicitly allows an override.
DevBuild
At least one value is a development build; build numbers are not comparable with release builds. Upgrade refused unless the caller explicitly allows an override.
Trait Implementations§
Source§impl Debug for UpgradeDecision
impl Debug for UpgradeDecision
impl Eq for UpgradeDecision
Source§impl PartialEq for UpgradeDecision
impl PartialEq for UpgradeDecision
impl StructuralPartialEq for UpgradeDecision
Auto Trait Implementations§
impl Freeze for UpgradeDecision
impl RefUnwindSafe for UpgradeDecision
impl Send for UpgradeDecision
impl Sync for UpgradeDecision
impl Unpin for UpgradeDecision
impl UnsafeUnpin for UpgradeDecision
impl UnwindSafe for UpgradeDecision
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more