Enum alpm::PackageOperation
source · pub enum PackageOperation<'a> {
Install(&'a Package),
Upgrade(&'a Package, &'a Package),
Reinstall(&'a Package, &'a Package),
Downgrade(&'a Package, &'a Package),
Remove(&'a Package),
}
Variants§
Install(&'a Package)
Upgrade(&'a Package, &'a Package)
Reinstall(&'a Package, &'a Package)
Downgrade(&'a Package, &'a Package)
Remove(&'a Package)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PackageOperation<'a>
impl<'a> !RefUnwindSafe for PackageOperation<'a>
impl<'a> !Send for PackageOperation<'a>
impl<'a> !Sync for PackageOperation<'a>
impl<'a> Unpin for PackageOperation<'a>
impl<'a> !UnwindSafe for PackageOperation<'a>
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