#[repr(C)]pub struct ProofAttestation {
pub proof_term_hash: [u8; 32],
pub environment_hash: [u8; 32],
pub verification_timestamp_ns: u64,
pub verifier_version: u32,
pub reduction_steps: u32,
pub cache_hit_rate_bps: u16,
}Expand description
A proof attestation recorded in the kernel witness log.
Every successful proof-gated mutation emits an attestation. Compatible with ADR-047 ProofAttestation (82 bytes).
Fields§
§proof_term_hash: [u8; 32]Hash of the proof term state (32 bytes).
environment_hash: [u8; 32]Hash of the environment declarations (32 bytes).
verification_timestamp_ns: u64Nanosecond UNIX timestamp of verification.
verifier_version: u32Verifier version (e.g., 0x00_01_00_00 = 0.1.0).
reduction_steps: u32Number of type-check reduction steps consumed.
cache_hit_rate_bps: u16Cache hit rate (0-10000 = 0.00%-100.00%).
Implementations§
Trait Implementations§
Source§impl Clone for ProofAttestation
impl Clone for ProofAttestation
Source§fn clone(&self) -> ProofAttestation
fn clone(&self) -> ProofAttestation
Returns a duplicate of the value. Read more
1.0.0 · 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 ProofAttestation
impl Debug for ProofAttestation
Source§impl Default for ProofAttestation
impl Default for ProofAttestation
Source§impl PartialEq for ProofAttestation
impl PartialEq for ProofAttestation
impl Copy for ProofAttestation
impl Eq for ProofAttestation
impl StructuralPartialEq for ProofAttestation
Auto Trait Implementations§
impl Freeze for ProofAttestation
impl RefUnwindSafe for ProofAttestation
impl Send for ProofAttestation
impl Sync for ProofAttestation
impl Unpin for ProofAttestation
impl UnsafeUnpin for ProofAttestation
impl UnwindSafe for ProofAttestation
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