pub struct CandidateTraceTelemetry {
pub header: CandidateTraceHeader,
pub max_entries: usize,
pub total_pulls: u64,
pub pulls: Vec<CandidatePullTelemetry>,
pub truncated: bool,
pub prefix_digest: CandidateTraceDigest,
pub unencoded_identity_count: u64,
/* private fields */
}Expand description
Bounded trace emitted in final/pause snapshots for an enabled run.
Fields§
§header: CandidateTraceHeader§max_entries: usize§total_pulls: u64All instrumented pulls, including pulls beyond max_entries.
pulls: Vec<CandidatePullTelemetry>The retained ordered prefix. This is never larger than max_entries.
truncated: boolTrue when the retained prefix is not the full pull stream.
prefix_digest: CandidateTraceDigestStable checksum of the retained canonical prefix only.
unencoded_identity_count: u64Number of retained pulls without an explicit logical-coordinate identity. A non-zero value makes the trace non-qualifying.
Implementations§
Source§impl CandidateTraceTelemetry
impl CandidateTraceTelemetry
pub fn is_complete(&self) -> bool
Sourcepub fn has_complete_execution_provenance(&self) -> bool
pub fn has_complete_execution_provenance(&self) -> bool
Whether this trace has complete engine execution provenance.
This is intentionally separate from Self::is_complete: a bounded
pull stream can be internally complete while the caller has not yet
supplied a verifiable model/instance/initial-state attestation or a
phase has correctly declared its graph opaque.
pub fn provenance_status(&self) -> CandidateTraceProvenanceStatus
Sourcepub fn require_qualified_run_provenance(
&self,
) -> Result<&QualifiedCandidateTraceRunProvenance, CandidateTraceQualificationError>
pub fn require_qualified_run_provenance( &self, ) -> Result<&QualifiedCandidateTraceRunProvenance, CandidateTraceQualificationError>
Returns the immutable attestation only when the caller explicitly requested qualified diagnostics. A normal trace with optional digests remains normal and never gets silently upgraded.
Trait Implementations§
Source§impl Clone for CandidateTraceTelemetry
impl Clone for CandidateTraceTelemetry
Source§fn clone(&self) -> CandidateTraceTelemetry
fn clone(&self) -> CandidateTraceTelemetry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CandidateTraceTelemetry
impl Debug for CandidateTraceTelemetry
impl Eq for CandidateTraceTelemetry
Source§impl PartialEq for CandidateTraceTelemetry
impl PartialEq for CandidateTraceTelemetry
impl StructuralPartialEq for CandidateTraceTelemetry
Auto Trait Implementations§
impl Freeze for CandidateTraceTelemetry
impl RefUnwindSafe for CandidateTraceTelemetry
impl Send for CandidateTraceTelemetry
impl Sync for CandidateTraceTelemetry
impl Unpin for CandidateTraceTelemetry
impl UnsafeUnpin for CandidateTraceTelemetry
impl UnwindSafe for CandidateTraceTelemetry
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,
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
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>
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>
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