#[repr(i32)]pub enum Upgrade {
FullUpgrade = 0,
Upgrade = 1,
SafeUpgrade = 3,
}
Expand description
Selection of Upgrade type
Variants§
FullUpgrade = 0
Upgrade will Install new and Remove packages in addition to upgrading them.
Equivalent to apt full-upgrade
and apt-get dist-upgrade
.
Upgrade = 1
Upgrade will Install new but not Remove packages.
Equivalent to apt upgrade
.
SafeUpgrade = 3
Upgrade will Not Install new or Remove packages.
Equivalent to apt-get upgrade
.
Auto Trait Implementations§
impl Freeze for Upgrade
impl RefUnwindSafe for Upgrade
impl Send for Upgrade
impl Sync for Upgrade
impl Unpin for Upgrade
impl UnwindSafe for Upgrade
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