Skip to main content

VerifiedSealedResult

Struct VerifiedSealedResult 

Source
pub struct VerifiedSealedResult { /* private fields */ }
Expand description

Opaque, descriptor-retaining view of a receipt-bound Phase-B oracle result.

It cannot be constructed or deserialized externally, and it intentionally does not implement Clone:

use u280_evidence_oracle::VerifiedSealedResult;
let _forged = VerifiedSealedResult {};
use serde::de::DeserializeOwned;
use u280_evidence_oracle::VerifiedSealedResult;
fn require_deserialize<T: DeserializeOwned>() {}
require_deserialize::<VerifiedSealedResult>();
use u280_evidence_oracle::VerifiedSealedResult;
fn require_clone<T: Clone>() {}
require_clone::<VerifiedSealedResult>();

The returned values describe historical evidence. Keep this guard alive and call Self::revalidate immediately before the promoter publishes its own sealed result. That call uses the same retained result and transport root descriptors; path-only snapshots are not substituted.

Implementations§

Source§

impl VerifiedSealedResult

Source

pub fn profile(&self) -> &'static str

Fixed cryptographic profile accepted by this typed verifier.

Source

pub fn transport_root(&self) -> &Path

Canonical retained transport root.

Source

pub fn transport_manifest(&self) -> &VerifiedResultArtifactBinding

Exact transport SHA256SUMS binding validated by the original oracle.

Source

pub fn final_hardware_identity(&self) -> &VerifiedResultArtifactBinding

Exact final native-XRT hardware identity binding.

Source

pub fn hardware_card_identity(&self) -> &VerifiedHardwareCardIdentity

Strict card and programmed-image identity proof.

Source

pub fn performance(&self) -> &VerifiedPerformanceObservations

Independently parsed exact performance observations.

Source

pub fn hardware_completion_promotable(&self) -> bool

Final hardware promotion remains the later route/card combiner’s job.

Source

pub fn run_id(&self) -> &str

Coordination run identifier shared by every request.

Source

pub fn coordination_intent(&self) -> &VerifiedResultArtifactBinding

Result-wide coordination intent root.

Source

pub fn coordination_burn(&self) -> &VerifiedResultArtifactBinding

Result-wide durable authorization-burn root.

Source

pub fn coordination_receipt(&self) -> &VerifiedResultArtifactBinding

Result-wide post-lock coordination receipt root.

Source

pub fn samples(&self) -> usize

Number of complete request samples.

Source

pub fn jobs(&self) -> u64

Number of transcript jobs across all samples.

Source

pub fn matched_jobs(&self) -> u64

Number of matching transcript jobs.

Source

pub fn mismatched_jobs(&self) -> u64

Number of mismatching transcript jobs.

Source

pub fn all_padding_valid(&self) -> bool

Conjunction of every request’s padding decision.

Source

pub fn cryptographic_oracle_valid(&self) -> bool

Recomputed complete cryptographic decision.

Source

pub fn requests(&self) -> &[VerifiedResultRequest]

Revalidated request-level joins and decisions.

Source

pub fn result_directory(&self) -> &Path

Canonical result directory bound by the exact creation receipt.

Source

pub fn result_manifest(&self) -> &VerifiedResultArtifactBinding

Result directory’s exact SHA256SUMS creation-time binding.

Source

pub fn creation_receipt(&self) -> &VerifiedOracleReceiptCapture

Descriptor-retained exact creation receipt.

Source

pub fn revalidate(&self) -> Result<()>

Revalidates the complete result and transport through their originally retained roots.

§Errors

Returns an error if either absolute root path identity, tree, manifest, or any covered file changed since this guard was created.

No filesystem API can prevent the owner from changing a path after this method returns. A promoter must therefore publish the receipt and both manifest identities, not claim that either path remains immutable.

Trait Implementations§

Source§

impl Debug for VerifiedSealedResult

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.