pub enum Reason {
RootRequire {
package_name: String,
constraint: Constraint,
pretty: String,
},
Fixed {
package: usize,
},
PackageConflict(Link),
PackageRequires(Link),
PackageSameName(String),
Learned(usize),
PackageAlias {
alias: usize,
},
PackageInverseAlias {
package: usize,
},
LockedFilterListRemoved {
package: usize,
},
}Expand description
Rule::RULE_*.
Variants§
RootRequire
RULE_ROOT_REQUIRE: ['packageName' => ..., 'constraint' => ...].
Fixed
RULE_FIXED: ['package' => ...] (arena index).
PackageConflict(Link)
RULE_PACKAGE_CONFLICT: the link.
PackageRequires(Link)
RULE_PACKAGE_REQUIRES: the link.
PackageSameName(String)
RULE_PACKAGE_SAME_NAME: the replaced name.
Learned(usize)
RULE_LEARNED: index into learnedPool.
PackageAlias
RULE_PACKAGE_ALIAS: the alias (arena index).
PackageInverseAlias
RULE_PACKAGE_INVERSE_ALIAS: the aliased package (arena index).
LockedFilterListRemoved
RULE_LOCKED_FILTER_LIST_REMOVED.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more