pub struct MemAnchorVerification {
pub mem: String,
pub resolved: usize,
pub drifted: usize,
pub recheck: usize,
pub unresolvable: usize,
pub unobserved: usize,
pub dangling: usize,
pub unreconciled: Option<String>,
pub anchors: Vec<VerifiedAnchor>,
}Expand description
One mem’s standalone anchor-verification report — the counts plus the per-anchor rows, in sidecar order.
Fields§
§mem: String§resolved: usizeSource present, hash matches (or a non-hash class whose source exists).
drifted: usizeSource present, hash differs, stability stable — real drift.
recheck: usizeHash differs under unstable stability, or a hash is missing on
either side — flagged for re-examination, never called drift.
unresolvable: usizeSource absent: a MEASURED failure. The artifact the anchor names is not there.
unobserved: usizeThe anchor could not be observed at all this pass, so nothing about it
was measured (consistency-sweep 03/05, criterion 2). Its own count,
because unresolvable used to swallow it: a reader on the surface you
reach WITHOUT a binding could not tell a measured failure from an
absent measurement, which is the one distinction that surface exists to
make.
dangling: usizeRows whose ENTITY is gone (consistency-sweep 03/02). Its own class,
counted apart from the states above: those describe the artifact end,
and a vanished entity says nothing about the source. Folding it into
unresolvable would name the wrong repair.
unreconciled: Option<String>Why the entity end could not be reconciled this pass, when it could
not. dangling: 0 means “none found” only when this is None.
anchors: Vec<VerifiedAnchor>Implementations§
Source§impl MemAnchorVerification
impl MemAnchorVerification
Sourcepub fn population_statement(&self) -> String
pub fn population_statement(&self) -> String
The population statement that must accompany this report’s figures (consistency-sweep 03/05, criteria 1 and 3): what the figures were computed over, and how much of it the pass could not adjudicate.
A resolution figure alone is read as health. Every W3 finding made that figure mean less than a reader assumes, and none of them made it wrong in a way anyone could see. Rendering the figure and its population as ONE unit is what stops the next such finding being invisible: a surface cannot show the number and omit the caveat, because it gets both from here or neither.
Sourcepub fn fully_adjudicated(&self) -> bool
pub fn fully_adjudicated(&self) -> bool
Whether this axis adjudicated everything it counted. False means the figures above rest on an incomplete measurement, which is not the same as a failed one.
Trait Implementations§
Source§impl Clone for MemAnchorVerification
impl Clone for MemAnchorVerification
Source§fn clone(&self) -> MemAnchorVerification
fn clone(&self) -> MemAnchorVerification
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MemAnchorVerification
impl Debug for MemAnchorVerification
Source§impl Default for MemAnchorVerification
impl Default for MemAnchorVerification
Source§fn default() -> MemAnchorVerification
fn default() -> MemAnchorVerification
Auto Trait Implementations§
impl Freeze for MemAnchorVerification
impl RefUnwindSafe for MemAnchorVerification
impl Send for MemAnchorVerification
impl Sync for MemAnchorVerification
impl Unpin for MemAnchorVerification
impl UnsafeUnpin for MemAnchorVerification
impl UnwindSafe for MemAnchorVerification
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,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> Fruit for T
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> ⓘ
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