Enum alpm::PackageOperation[][src]

pub enum PackageOperation<'a> {
    Install(Package<'a>),
    Upgrade(Package<'a>, Package<'a>),
    Reinstall(Package<'a>, Package<'a>),
    Downgrade(Package<'a>, Package<'a>),
    Remove(Package<'a>),
}

Variants

Install(Package<'a>)

Tuple Fields of Install

0: Package<'a>
Upgrade(Package<'a>, Package<'a>)

Tuple Fields of Upgrade

0: Package<'a>1: Package<'a>
Reinstall(Package<'a>, Package<'a>)

Tuple Fields of Reinstall

0: Package<'a>1: Package<'a>
Downgrade(Package<'a>, Package<'a>)

Tuple Fields of Downgrade

0: Package<'a>1: Package<'a>
Remove(Package<'a>)

Tuple Fields of Remove

0: Package<'a>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.