pub enum Upgrade {
FullUpgrade,
SafeUpgrade,
Upgrade,
}Expand description
Selection of Upgrade type
Variants§
FullUpgrade
Upgrade will Install new and Remove packages in addition to upgrading them.
Equivalent to apt full-upgrade and apt-get dist-upgrade.
SafeUpgrade
Upgrade will Not Install new or Remove packages.
Equivalent to apt-get upgrade.
Upgrade
Upgrade will Install new but not Remove packages.
Equivalent to apt upgrade.
Auto Trait Implementations§
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