Skip to main content

ComputePhysicalEvidence

Trait ComputePhysicalEvidence 

Source
pub trait ComputePhysicalEvidence {
    // Required method
    fn evidence_kind(&self) -> ComputeEvidenceKind;

    // Provided methods
    fn claimed_identity(&self) -> Option<&ComputeDeviceIdentity> { ... }
    fn observed_identity(&self) -> Option<&ComputeDeviceIdentity> { ... }
}
Expand description

Evidence that can be checked before accepting a physical-device claim.

Required Methods§

Source

fn evidence_kind(&self) -> ComputeEvidenceKind

Reported evidence kind.

Provided Methods§

Source

fn claimed_identity(&self) -> Option<&ComputeDeviceIdentity>

Claimed device identity, when the record carries one.

Source

fn observed_identity(&self) -> Option<&ComputeDeviceIdentity>

Observed device identity captured by the producer, when available.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ComputePhysicalEvidence for ModeledComputeProfile

Implementors§