pub enum External<P: Package, VS: VersionSet, M: Eq + Clone + Debug + Display> {
NotRoot(P, VS::V),
NoVersions(P, VS),
FromDependencyOf(P, VS, P, VS),
Custom(P, VS, M),
}Expand description
Incompatibility that is not derived from other incompatibilities.
Variants§
NotRoot(P, VS::V)
Initial incompatibility aiming at picking the root package for the first decision.
NoVersions(P, VS)
There are no versions in the given set for this package.
FromDependencyOf(P, VS, P, VS)
Incompatibility coming from the dependencies of a given package.
Custom(P, VS, M)
The package is unusable for reasons outside pubgrub.
Trait Implementations§
Source§impl<P: Clone + Package, VS: Clone + VersionSet, M: Clone + Eq + Clone + Debug + Display> Clone for External<P, VS, M>
impl<P: Clone + Package, VS: Clone + VersionSet, M: Clone + Eq + Clone + Debug + Display> Clone for External<P, VS, M>
Auto Trait Implementations§
impl<P, VS, M> Freeze for External<P, VS, M>
impl<P, VS, M> RefUnwindSafe for External<P, VS, M>
impl<P, VS, M> Send for External<P, VS, M>
impl<P, VS, M> Sync for External<P, VS, M>
impl<P, VS, M> Unpin for External<P, VS, M>
impl<P, VS, M> UnwindSafe for External<P, VS, M>
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