[][src]Enum pubgrub::report::DerivationTree

pub enum DerivationTree<P: Package, V: Version> {
    External(External<P, V>),
    Derived(Derived<P, V>),
}

Derivation tree resulting in the impossibility to solve the dependencies of our root package.

Variants

External(External<P, V>)

External incompatibility.

Derived(Derived<P, V>)

Incompatibility derived from two others.

Implementations

impl<P: Package, V: Version> DerivationTree<P, V>[src]

pub fn collapse_no_versions(&mut self)[src]

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

impl<P: Clone + Package, V: Clone + Version> Clone for DerivationTree<P, V>[src]

impl<P: Debug + Package, V: Debug + Version> Debug for DerivationTree<P, V>[src]

Auto Trait Implementations

impl<P, V> RefUnwindSafe for DerivationTree<P, V> where
    P: RefUnwindSafe,
    V: RefUnwindSafe

impl<P, V> Send for DerivationTree<P, V> where
    P: Send,
    V: Send

impl<P, V> Sync for DerivationTree<P, V> where
    P: Sync,
    V: Sync

impl<P, V> Unpin for DerivationTree<P, V> where
    P: Unpin,
    V: Unpin

impl<P, V> UnwindSafe for DerivationTree<P, V> where
    P: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.