[−][src]Struct aur_depends::Actions
The response from resolving dependencies.
Note that just because resolving retuend Ok() does not mean it is safe to bindly start installing these packages.
Fields
duplicates: Vec<String>
There were duplicate packages in install/build. This means that two different packages with the same name want to be installed. As this can not be done it should be treated as a hard error.
missing: Vec<Missing>
Some of the targets or dependencies could not be satisfied. This should be treated as a hard error.
unneeded: Vec<String>
Targets that are up to date.
build: Vec<Base>
Aur packages to build.
install: Vec<RepoPackage<'a>>
Repo packages to install.
conflicts: Vec<Conflict>
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.
inner_conflicts: Vec<Conflict>
Inner conflict. The same rules that apply to conflicts apply here.
Methods
impl<'a> Actions<'a>
[src]
pub fn iter_build_pkgs(&self) -> impl Iterator<Item = &AurPackage>
[src]
An iterator over each individual package in self.build.
Trait Implementations
Auto Trait Implementations
impl<'a> Unpin for Actions<'a>
impl<'a> !Sync for Actions<'a>
impl<'a> !Send for Actions<'a>
impl<'a> UnwindSafe for Actions<'a>
impl<'a> RefUnwindSafe for Actions<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,