pub struct ConflictService;Expand description
Conflict detection service.
This service provides high-level methods for detecting version conflicts and path conflicts in dependencies.
Implementations§
Source§impl ConflictService
impl ConflictService
Sourcepub fn detect_version_conflicts(
&mut self,
dependencies: &HashMap<DependencyKey, DetailedDependency>,
) -> Result<Vec<VersionConflict>>
pub fn detect_version_conflicts( &mut self, dependencies: &HashMap<DependencyKey, DetailedDependency>, ) -> Result<Vec<VersionConflict>>
Sourcepub fn detect_path_conflicts(
dependencies: &HashMap<DependencyKey, DetailedDependency>,
) -> Vec<(String, Vec<String>)>
pub fn detect_path_conflicts( dependencies: &HashMap<DependencyKey, DetailedDependency>, ) -> Vec<(String, Vec<String>)>
Sourcepub fn has_conflict(
&mut self,
dependencies: &HashMap<DependencyKey, DetailedDependency>,
new_dep: &ResourceDependency,
new_key: &DependencyKey,
) -> bool
pub fn has_conflict( &mut self, dependencies: &HashMap<DependencyKey, DetailedDependency>, new_dep: &ResourceDependency, new_key: &DependencyKey, ) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConflictService
impl RefUnwindSafe for ConflictService
impl Send for ConflictService
impl Sync for ConflictService
impl Unpin for ConflictService
impl UnwindSafe for ConflictService
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