pub struct ProofBundleVerification {
pub summary: ProofBundleSummary,
pub valid: bool,
pub exists_count: usize,
pub absence_count: usize,
pub entry_count: usize,
pub diff_count: usize,
pub next_cursor: Option<RangeCursor>,
}Expand description
Store-independent verification result for opaque canonical proof bundle bytes.
This result is intentionally aggregate-level: it proves whether the decoded bundle verifies and reports counts that are useful for routing, logging, and sync protocols. Call the typed verifier after routing when callers need full values, range entries, or diff payloads.
Fields§
§summary: ProofBundleSummaryLightweight decoded bundle metadata.
valid: boolWhether the decoded typed proof verifies.
exists_count: usizeNumber of verified existing keys for key and multi-key proofs.
absence_count: usizeNumber of verified absent keys for key and multi-key proofs.
entry_count: usizeNumber of verified entries for range and range-page proofs.
diff_count: usizeNumber of verified diffs for diff-page proofs.
next_cursor: Option<RangeCursor>Continuation cursor proved by a diff-page proof, when present.
Implementations§
Trait Implementations§
Source§impl Clone for ProofBundleVerification
impl Clone for ProofBundleVerification
Source§fn clone(&self) -> ProofBundleVerification
fn clone(&self) -> ProofBundleVerification
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 ProofBundleVerification
impl Debug for ProofBundleVerification
impl Eq for ProofBundleVerification
Source§impl PartialEq for ProofBundleVerification
impl PartialEq for ProofBundleVerification
impl StructuralPartialEq for ProofBundleVerification
Auto Trait Implementations§
impl Freeze for ProofBundleVerification
impl RefUnwindSafe for ProofBundleVerification
impl Send for ProofBundleVerification
impl Sync for ProofBundleVerification
impl Unpin for ProofBundleVerification
impl UnsafeUnpin for ProofBundleVerification
impl UnwindSafe for ProofBundleVerification
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<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