Enum pubgrub::report::DerivationTree
source · pub enum DerivationTree<P: Package, VS: VersionSet> {
External(External<P, VS>),
Derived(Derived<P, VS>),
}
Expand description
Derivation tree resulting in the impossibility to solve the dependencies of our root package.
Variants§
External(External<P, VS>)
External incompatibility.
Derived(Derived<P, VS>)
Incompatibility derived from two others.
Implementations§
source§impl<P: Package, VS: VersionSet> DerivationTree<P, VS>
impl<P: Package, VS: VersionSet> DerivationTree<P, VS>
sourcepub fn collapse_no_versions(&mut self)
pub fn collapse_no_versions(&mut self)
Merge the NoVersions external incompatibilities with the other one they are matched with in a derived incompatibility. This cleans up quite nicely the generated report. You might want to do this if you know that the DependencyProvider was not run in some kind of offline mode that may not have access to all versions existing.
Trait Implementations§
source§impl<P: Clone + Package, VS: Clone + VersionSet> Clone for DerivationTree<P, VS>
impl<P: Clone + Package, VS: Clone + VersionSet> Clone for DerivationTree<P, VS>
source§fn clone(&self) -> DerivationTree<P, VS>
fn clone(&self) -> DerivationTree<P, VS>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<P, VS> Freeze for DerivationTree<P, VS>
impl<P, VS> RefUnwindSafe for DerivationTree<P, VS>
impl<P, VS> Send for DerivationTree<P, VS>
impl<P, VS> Sync for DerivationTree<P, VS>
impl<P, VS> Unpin for DerivationTree<P, VS>
impl<P, VS> UnwindSafe for DerivationTree<P, VS>where
P: UnwindSafe + RefUnwindSafe,
VS: UnwindSafe + RefUnwindSafe,
<VS as VersionSet>::V: UnwindSafe + RefUnwindSafe,
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