Struct aur_depends::Actions [−][src]
pub struct Actions<'a> {
pub missing: Vec<Missing>,
pub unneeded: Vec<Unneeded>,
pub build: Vec<Base>,
pub install: Vec<RepoPackage<'a>>,
// some fields omitted
}
Expand description
The response from resolving dependencies.
Note that just because resolving returned Ok() does not mean it is safe to bindly start installing these packages.
Fields
missing: Vec<Missing>
Some of the targets or dependencies could not be satisfied. This should be treated as a hard error.
unneeded: Vec<Unneeded>
Targets that are up to date.
build: Vec<Base>
Aur packages to build.
install: Vec<RepoPackage<'a>>
Repo packages to install.
Implementations
An iterator over each individual package in self.build.
Calculate conflicts. Do note that even with conflicts it can still be possible to continue and install the packages. Although that is not checked here.
For example installing pacman-git will conflict with pacman. But the install will still succeed as long as the user hits yes to pacman’s prompt to remove pacman.
However other cases are more complex and can not be automatically resolved. So it is up to the user to decide how to handle these.
makedeps: if true, include make dependencies in the conflict calculation.
Calculate inner conflicts. Do note that even with conflicts it can still be possible to continue and install the packages. Although that is not checked here.
For example installing pacman-git will conflict with pacman. But the install will still succeed as long as the user hits yes to pacman’s prompt to remove pacman.
However other cases are more complex and can not be automatically resolved. So it is up to the user to decide how to handle these.
makedeps: if true, include make dependencies in the conflict calculation.
Find duplicate targets. It is possible to have duplicate targets if packages with the same name exist across repos.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Actions<'a>
impl<'a> !UnwindSafe for Actions<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more