pub struct SemanticStats {
pub confirmed: usize,
pub disagreements: usize,
pub discovered: usize,
}Expand description
The resolve-time consumption path’s own run-level counters: appended to
Stats only when the semantic layer actually loaded for this run, so a
syntax-only build (no admitted artifact, or a stale one) carries no
semantic key at all – the same omit-when-absent rule every
enrichment-layer fact follows, and what keeps a graph built without the layer
byte-identical to one built before it existed.
Fields§
§confirmed: usizePer-reference overrides the same-context authority rule confirmed.
disagreements: usizeHow many of those confirmations displaced a different target the ladder itself had already bound – the disagreement diagnostic count.
discovered: usizeCompiler-discovered edges: admitted, confirmed occurrences the
extractor emitted no reference for at all. Never pooled with
confirmed in any count this struct reports.
Trait Implementations§
Source§impl Clone for SemanticStats
impl Clone for SemanticStats
impl Copy for SemanticStats
Source§impl Debug for SemanticStats
impl Debug for SemanticStats
Source§impl Default for SemanticStats
impl Default for SemanticStats
Source§impl<'de> Deserialize<'de> for SemanticStats
impl<'de> Deserialize<'de> for SemanticStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for SemanticStats
impl PartialEq for SemanticStats
Source§impl Serialize for SemanticStats
impl Serialize for SemanticStats
impl StructuralPartialEq for SemanticStats
Auto Trait Implementations§
impl Freeze for SemanticStats
impl RefUnwindSafe for SemanticStats
impl Send for SemanticStats
impl Sync for SemanticStats
impl Unpin for SemanticStats
impl UnsafeUnpin for SemanticStats
impl UnwindSafe for SemanticStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
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> ⓘ
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