pub struct QualifiedCandidateTraceRunProvenance { /* private fields */ }Expand description
Immutable attestation required before a caller may request a qualified diagnostic run.
The constructor takes all five source/build digests directly. It does not read environment variables, serialize a solution, or invoke model code; a harness obtains its digests before calling SolverForge and passes this value through the bridge unchanged.
Implementations§
Source§impl QualifiedCandidateTraceRunProvenance
impl QualifiedCandidateTraceRunProvenance
pub fn externally_attested( schema_digest: CandidateTraceExternalDigest, instance_digest: CandidateTraceExternalDigest, initial_state_digest: CandidateTraceExternalDigest, core_tree_digest: CandidateTraceExternalDigest, build_digest: CandidateTraceExternalDigest, producer: impl Into<String>, ) -> Result<Self, CandidateTraceQualificationError>
Sourcepub fn try_from_input(
input: CandidateTraceInputProvenance,
) -> Result<Self, CandidateTraceQualificationError>
pub fn try_from_input( input: CandidateTraceInputProvenance, ) -> Result<Self, CandidateTraceQualificationError>
Upgrades an existing externally supplied provenance only when it has the full immutable attestation a qualified run requires.
pub fn input_provenance(&self) -> &CandidateTraceInputProvenance
Trait Implementations§
Source§impl Clone for QualifiedCandidateTraceRunProvenance
impl Clone for QualifiedCandidateTraceRunProvenance
Source§fn clone(&self) -> QualifiedCandidateTraceRunProvenance
fn clone(&self) -> QualifiedCandidateTraceRunProvenance
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 QualifiedCandidateTraceRunProvenance
impl StructuralPartialEq for QualifiedCandidateTraceRunProvenance
Auto Trait Implementations§
impl Freeze for QualifiedCandidateTraceRunProvenance
impl RefUnwindSafe for QualifiedCandidateTraceRunProvenance
impl Send for QualifiedCandidateTraceRunProvenance
impl Sync for QualifiedCandidateTraceRunProvenance
impl Unpin for QualifiedCandidateTraceRunProvenance
impl UnsafeUnpin for QualifiedCandidateTraceRunProvenance
impl UnwindSafe for QualifiedCandidateTraceRunProvenance
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