[−][src]Enum pubgrub::error::PubGrubError
Errors that may occur while solving dependencies.
Variants
NoSolution(DerivationTree<P, V>)
There is no solution for this set of dependencies.
Error arising when the implementer of DependencyProvider returned an error in the method get_dependencies.
Fields of ErrorRetrievingDependencies
package: P
Package whose dependencies we want.
version: V
Version of the package for which we want the dependencies.
source: Box<dyn Error>
Error raised by the implementer of DependencyProvider.
Error arising when the implementer of DependencyProvider returned a dependency on an empty range. This technically means that the package can not be selected, but is clearly some kind of mistake.
Fields of DependencyOnTheEmptySet
Error arising when the implementer of DependencyProvider returned a dependency on the requested package. This technically means that the package directly depends on itself, and is clearly some kind of mistake.
Fields of SelfDependency
Error arising when the implementer of DependencyProvider returned an error in the method choose_package_version.
Error arising when the implementer of DependencyProvider returned an error in the method should_cancel.
Failure(String)
Something unexpected happened.
Trait Implementations
impl<P: Debug + Package, V: Debug + Version> Debug for PubGrubError<P, V>
[src]
impl<P: Package, V: Version> Display for PubGrubError<P, V>
[src]
impl<P: Package, V: Version> Error for PubGrubError<P, V>
[src]
Auto Trait Implementations
impl<P, V> !RefUnwindSafe for PubGrubError<P, V>
impl<P, V> !Send for PubGrubError<P, V>
impl<P, V> !Sync for PubGrubError<P, V>
impl<P, V> Unpin for PubGrubError<P, V> where
P: Unpin,
V: Unpin,
P: Unpin,
V: Unpin,
impl<P, V> !UnwindSafe for PubGrubError<P, V>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,