pub struct LinkageSnapshot {Show 18 fields
pub generation: ResourceGeneration,
pub index_generation: ResourceGeneration,
pub resolved_refs: usize,
pub candidate_refs: usize,
pub external_refs: usize,
pub dynamic_refs: usize,
pub blocked_refs: usize,
pub manifest_blocked_refs: usize,
pub unresolved_refs: usize,
pub ambiguous_refs: usize,
pub resolved: Vec<LinkageEdge>,
pub candidates: Vec<CandidateReference>,
pub external: Vec<ExternalReference>,
pub dynamic: Vec<DynamicReference>,
pub blocked: Vec<UnresolvedReference>,
pub manifest_blocked: Vec<UnresolvedReference>,
pub unresolved: Vec<UnresolvedReference>,
pub read_index: LinkageReadIndexHandle,
}Fields§
§generation: ResourceGeneration§index_generation: ResourceGeneration§resolved_refs: usize§candidate_refs: usize§external_refs: usize§dynamic_refs: usize§blocked_refs: usize§manifest_blocked_refs: usizeCompatibility counter for manifest-policy blocks.
unresolved_refs: usize§ambiguous_refs: usizeCompatibility counter for existing consumers. Candidate references are now stored separately and never projected as graph edges.
resolved: Vec<LinkageEdge>§candidates: Vec<CandidateReference>§external: Vec<ExternalReference>§dynamic: Vec<DynamicReference>§blocked: Vec<UnresolvedReference>§manifest_blocked: Vec<UnresolvedReference>Compatibility view containing only ManifestBlocked entries.
unresolved: Vec<UnresolvedReference>§read_index: LinkageReadIndexHandleImplementations§
Source§impl LinkageSnapshot
impl LinkageSnapshot
pub fn new( generation: ResourceGeneration, index_generation: ResourceGeneration, resolved_refs: usize, unresolved_refs: usize, ) -> Self
pub fn with_refs( generation: ResourceGeneration, index_generation: ResourceGeneration, resolved: Vec<LinkageEdge>, unresolved: Vec<UnresolvedReference>, ) -> Self
Trait Implementations§
Source§impl Clone for LinkageSnapshot
impl Clone for LinkageSnapshot
Source§fn clone(&self) -> LinkageSnapshot
fn clone(&self) -> LinkageSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LinkageSnapshot
impl Debug for LinkageSnapshot
impl Eq for LinkageSnapshot
Source§impl PartialEq for LinkageSnapshot
impl PartialEq for LinkageSnapshot
impl StructuralPartialEq for LinkageSnapshot
Auto Trait Implementations§
impl Freeze for LinkageSnapshot
impl RefUnwindSafe for LinkageSnapshot
impl Send for LinkageSnapshot
impl Sync for LinkageSnapshot
impl Unpin for LinkageSnapshot
impl UnsafeUnpin for LinkageSnapshot
impl UnwindSafe for LinkageSnapshot
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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