pub struct CandidateTraceInputProvenance {
pub schema_digest: CandidateTraceExternalDigest,
pub instance_digest: CandidateTraceExternalDigest,
pub initial_state_digest: CandidateTraceExternalDigest,
pub core_tree_digest: Option<CandidateTraceExternalDigest>,
pub build_digest: Option<CandidateTraceExternalDigest>,
pub attestation: CandidateTraceInputAttestation,
}Expand description
Immutable caller-supplied context for a diagnostic run.
The three required digests identify the compiled schema/model, source
instance, and imported initial working state. Optional core-tree and build
digests let a harness pin the executable source as well. This is an
attestation hook, not an assertion by SolverForge that two foreign models
have equivalent semantics; consumers must inspect Self::attestation
and independently verify external inputs before qualifying a comparison.
Fields§
§schema_digest: CandidateTraceExternalDigest§instance_digest: CandidateTraceExternalDigest§initial_state_digest: CandidateTraceExternalDigest§core_tree_digest: Option<CandidateTraceExternalDigest>§build_digest: Option<CandidateTraceExternalDigest>§attestation: CandidateTraceInputAttestationImplementations§
Source§impl CandidateTraceInputProvenance
impl CandidateTraceInputProvenance
pub fn externally_attested( schema_digest: CandidateTraceExternalDigest, instance_digest: CandidateTraceExternalDigest, initial_state_digest: CandidateTraceExternalDigest, producer: impl Into<String>, ) -> Self
pub fn with_core_tree_digest(self, digest: CandidateTraceExternalDigest) -> Self
pub fn with_build_digest(self, digest: CandidateTraceExternalDigest) -> Self
Trait Implementations§
Source§impl Clone for CandidateTraceInputProvenance
impl Clone for CandidateTraceInputProvenance
Source§fn clone(&self) -> CandidateTraceInputProvenance
fn clone(&self) -> CandidateTraceInputProvenance
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 moreimpl Eq for CandidateTraceInputProvenance
impl StructuralPartialEq for CandidateTraceInputProvenance
Auto Trait Implementations§
impl Freeze for CandidateTraceInputProvenance
impl RefUnwindSafe for CandidateTraceInputProvenance
impl Send for CandidateTraceInputProvenance
impl Sync for CandidateTraceInputProvenance
impl Unpin for CandidateTraceInputProvenance
impl UnsafeUnpin for CandidateTraceInputProvenance
impl UnwindSafe for CandidateTraceInputProvenance
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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