pub struct EvidencePacket {Show 13 fields
pub schema: String,
pub provenance: TraceRunMeta,
pub health: TraceHealth,
pub capabilities: EvidenceCapabilities,
pub findings: Vec<EvidenceFinding>,
pub facts: Vec<EvidenceFact>,
pub gaps: Vec<String>,
pub graph: Option<ExecutionGraph>,
pub tensor_stats: Vec<TensorStatsEvent>,
pub timing: TimingProfile,
pub memory: MemoryProfile,
pub activations: ActivationProfile,
pub gpu: NsightEvidence,
}Fields§
§schema: String§provenance: TraceRunMeta§health: TraceHealth§capabilities: EvidenceCapabilities§findings: Vec<EvidenceFinding>§facts: Vec<EvidenceFact>§gaps: Vec<String>§graph: Option<ExecutionGraph>Failed or structurally invalid captures remain diagnosable without a derived graph.
tensor_stats: Vec<TensorStatsEvent>Ordered caller-labeled numerical summaries from the trace.
timing: TimingProfile§memory: MemoryProfile§activations: ActivationProfileCapability-qualified activation-operation rankings with independent cost metrics.
gpu: NsightEvidenceImplementations§
Source§impl EvidencePacket
impl EvidencePacket
Sourcepub fn validate_schema(&self) -> Result<()>
pub fn validate_schema(&self) -> Result<()>
Reject packets from older semantic contracts, including nested graphs that only happen to deserialize into the current Rust representation.
pub fn from_document( document: TraceDocument, gpu: NsightEvidence, ) -> Result<Self>
pub fn markdown(&self) -> String
Trait Implementations§
Source§impl Clone for EvidencePacket
impl Clone for EvidencePacket
Source§fn clone(&self) -> EvidencePacket
fn clone(&self) -> EvidencePacket
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 moreSource§impl Debug for EvidencePacket
impl Debug for EvidencePacket
Source§impl<'de> Deserialize<'de> for EvidencePacket
impl<'de> Deserialize<'de> for EvidencePacket
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EvidencePacket
impl PartialEq for EvidencePacket
Source§impl Serialize for EvidencePacket
impl Serialize for EvidencePacket
impl StructuralPartialEq for EvidencePacket
Auto Trait Implementations§
impl Freeze for EvidencePacket
impl RefUnwindSafe for EvidencePacket
impl Send for EvidencePacket
impl Sync for EvidencePacket
impl Unpin for EvidencePacket
impl UnsafeUnpin for EvidencePacket
impl UnwindSafe for EvidencePacket
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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