pub struct OptionalParserPackPlatformProof {Show 16 fields
pub schema_version: u32,
pub pack_id: String,
pub platform: PackPlatform,
pub candidate: ParserPackCandidateIdentity,
pub archive_name: String,
pub archive_sha256: Sha256Digest,
pub archive_bytes: u64,
pub expanded_bytes: u64,
pub artifact_manifest_sha256: Sha256Digest,
pub accepted_manifest_sha256: Sha256Digest,
pub capability_set_digest: Blake3Digest,
pub fixture_corpus_sha256: Sha256Digest,
pub native_audit_report_sha256: Sha256Digest,
pub runner: ParserPackFreshRunner,
pub grammars: Vec<ParserPackGrammarProbe>,
pub memory: ParserPackMemoryProbe,
}Expand description
Fresh-runner receipt for one exact completed platform archive.
Fields§
§schema_version: u32Platform-proof schema version.
pack_id: StringStable logical pack identity.
platform: PackPlatformRequired native target.
candidate: ParserPackCandidateIdentityExact candidate identity repeated for cross-platform comparison.
archive_name: StringSafe completed archive basename.
archive_sha256: Sha256DigestSHA-256 of the complete archive, including its artifact manifest.
archive_bytes: u64Exact completed archive bytes.
expanded_bytes: u64Expanded bytes including the artifact manifest.
artifact_manifest_sha256: Sha256DigestSHA-256 of the immutable artifact manifest inside the archive.
accepted_manifest_sha256: Sha256DigestSHA-256 of the byte-identical accepted logical manifest.
capability_set_digest: Blake3DigestByte-identical logical accepted capability digest.
fixture_corpus_sha256: Sha256DigestSHA-256 of the byte-identical retained fixture corpus.
native_audit_report_sha256: Sha256DigestSHA-256 of the normalized native audit report bound by the artifact manifest.
runner: ParserPackFreshRunnerClean-machine and physical-isolation state.
grammars: Vec<ParserPackGrammarProbe>Strictly language-sorted accepted grammar worker probes.
memory: ParserPackMemoryProbeExact-host memory-boundary and cleanup probe.
Implementations§
Source§impl OptionalParserPackPlatformProof
impl OptionalParserPackPlatformProof
Sourcepub fn validate(
&self,
logical: &OptionalParserPackManifest,
) -> Result<(), OptionalParserPackManifestError>
pub fn validate( &self, logical: &OptionalParserPackManifest, ) -> Result<(), OptionalParserPackManifestError>
Validate one fresh-runner receipt against the accepted logical manifest.
§Errors
Returns the first candidate, archive, isolation, or grammar-probe violation.
Trait Implementations§
Source§impl Clone for OptionalParserPackPlatformProof
impl Clone for OptionalParserPackPlatformProof
Source§fn clone(&self) -> OptionalParserPackPlatformProof
fn clone(&self) -> OptionalParserPackPlatformProof
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for OptionalParserPackPlatformProof
impl<'de> Deserialize<'de> for OptionalParserPackPlatformProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for OptionalParserPackPlatformProof
impl PartialEq for OptionalParserPackPlatformProof
Source§fn eq(&self, other: &OptionalParserPackPlatformProof) -> bool
fn eq(&self, other: &OptionalParserPackPlatformProof) -> bool
self and other values to be equal, and is used by ==.impl Eq for OptionalParserPackPlatformProof
impl StructuralPartialEq for OptionalParserPackPlatformProof
Auto Trait Implementations§
impl Freeze for OptionalParserPackPlatformProof
impl RefUnwindSafe for OptionalParserPackPlatformProof
impl Send for OptionalParserPackPlatformProof
impl Sync for OptionalParserPackPlatformProof
impl Unpin for OptionalParserPackPlatformProof
impl UnwindSafe for OptionalParserPackPlatformProof
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.