pub enum ObjectItemStatus {
Evaluated(ObjectVerification),
Unindexed(ObjectVerification),
Failed {
message: String,
},
}Expand description
Outcome of attempting to verify one persisted object record (DC-95 Stage 2 Level 2, Phase A). No
NotEvaluated variant: Phase A’s per-object checks (decode, schema, signature, trust, reference
existence) have no real dependency on any other object’s own outcome (Step 0 §1.1) – every
object is independently attempted.
Variants§
Evaluated(ObjectVerification)
The object’s own checks all passed, and it has a matching index entry.
Unindexed(ObjectVerification)
The object’s own checks all passed, but no index entry names it (design-v1.md §12/§10.2’s
ruling): rebuildable, so not a failure – explicitly excluded from has_item_failure(),
the same way Evaluated is. Carries the same data Evaluated does; only the classification
differs.
Failed
Some check for this specific object failed – either the container record’s own framing
(bad checksum, malformed envelope) or a downstream check (schema, signature, trust,
reference existence). Its signature-envelope findings and (for a Block) merge-baseline
divergence and pending_v3_blocks contribution are not recorded – this object’s own
verification did not run to completion, so nothing derived partway through it is reported.
Trait Implementations§
Source§impl Clone for ObjectItemStatus
impl Clone for ObjectItemStatus
Source§fn clone(&self) -> ObjectItemStatus
fn clone(&self) -> ObjectItemStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more