pub struct TransitiveContext<'a> {
pub base: ResolutionContext<'a>,
pub dependency_map: &'a Arc<DashMap<DependencyKey, Vec<String>>>,
pub transitive_custom_names: &'a Arc<DashMap<DependencyKey, String>>,
pub conflict_detector: &'a mut ConflictDetector,
pub manifest_overrides: &'a ManifestOverrideIndex,
}Expand description
Context for transitive dependency resolution.
Extends the base resolution context with concurrent state needed for parallel transitive dependency traversal and conflict detection.
Fields§
§base: ResolutionContext<'a>Base immutable context
dependency_map: &'a Arc<DashMap<DependencyKey, Vec<String>>>Map tracking which dependencies are required by which resources (concurrent)
transitive_custom_names: &'a Arc<DashMap<DependencyKey, String>>Map tracking custom names for transitive dependencies (concurrent, for template variables)
conflict_detector: &'a mut ConflictDetectorConflict detector for version resolution
manifest_overrides: &'a ManifestOverrideIndexIndex of manifest overrides for deduplication with transitive deps
Auto Trait Implementations§
impl<'a> Freeze for TransitiveContext<'a>
impl<'a> !RefUnwindSafe for TransitiveContext<'a>
impl<'a> Send for TransitiveContext<'a>
impl<'a> Sync for TransitiveContext<'a>
impl<'a> Unpin for TransitiveContext<'a>
impl<'a> !UnwindSafe for TransitiveContext<'a>
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> 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