pub struct PackageResolutionStatistics { /* private fields */ }Expand description
Statistics on how often a package conflicted with other packages.
Implementations§
Source§impl PackageResolutionStatistics
impl PackageResolutionStatistics
Sourcepub fn conflict_count(&self) -> u32
pub fn conflict_count(&self) -> u32
The number of conflicts this package was involved in.
Processing packages with a high conflict count earlier usually speeds up resolution.
Whenever a package is part of the root cause incompatibility of a conflict, we increase its count by one. Since the structure of the incompatibilities may change, this count too may change in the future.
Trait Implementations§
Source§impl Clone for PackageResolutionStatistics
impl Clone for PackageResolutionStatistics
Source§fn clone(&self) -> PackageResolutionStatistics
fn clone(&self) -> PackageResolutionStatistics
Returns a duplicate 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 moreSource§impl Debug for PackageResolutionStatistics
impl Debug for PackageResolutionStatistics
Source§impl Default for PackageResolutionStatistics
impl Default for PackageResolutionStatistics
Source§fn default() -> PackageResolutionStatistics
fn default() -> PackageResolutionStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackageResolutionStatistics
impl RefUnwindSafe for PackageResolutionStatistics
impl Send for PackageResolutionStatistics
impl Sync for PackageResolutionStatistics
impl Unpin for PackageResolutionStatistics
impl UnwindSafe for PackageResolutionStatistics
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