pub struct HardwareEvidenceReport { /* private fields */ }Expand description
Sanitized differential, lifecycle, and determinism evidence for one profile.
Implementations§
Source§impl HardwareEvidenceReport
impl HardwareEvidenceReport
Sourcepub fn not_measured(
adapter_id: impl Into<String>,
profile_id: impl Into<String>,
) -> Self
pub fn not_measured( adapter_id: impl Into<String>, profile_id: impl Into<String>, ) -> Self
Records that no qualifying physical adapter was measured.
This result deliberately cannot satisfy Self::satisfies_hardware_gate.
Sourcepub fn measured(
adapter_id: impl Into<String>,
profile_id: impl Into<String>,
metrics: HardwareEvidenceMetrics,
differential: &DifferentialReport,
) -> Self
pub fn measured( adapter_id: impl Into<String>, profile_id: impl Into<String>, metrics: HardwareEvidenceMetrics, differential: &DifferentialReport, ) -> Self
Builds measured evidence from the shared differential report.
Sourcepub fn result(&self) -> HardwareMeasurementResult
pub fn result(&self) -> HardwareMeasurementResult
Returns the explicit measurement classification.
Sourcepub fn satisfies_hardware_gate(&self) -> bool
pub fn satisfies_hardware_gate(&self) -> bool
Returns true only for a qualifying 100-repeat measured pass.
Trait Implementations§
Source§impl Clone for HardwareEvidenceReport
impl Clone for HardwareEvidenceReport
Source§fn clone(&self) -> HardwareEvidenceReport
fn clone(&self) -> HardwareEvidenceReport
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 HardwareEvidenceReport
impl Debug for HardwareEvidenceReport
Source§impl Display for HardwareEvidenceReport
impl Display for HardwareEvidenceReport
Source§impl PartialEq for HardwareEvidenceReport
impl PartialEq for HardwareEvidenceReport
impl StructuralPartialEq for HardwareEvidenceReport
Auto Trait Implementations§
impl Freeze for HardwareEvidenceReport
impl RefUnwindSafe for HardwareEvidenceReport
impl Send for HardwareEvidenceReport
impl Sync for HardwareEvidenceReport
impl Unpin for HardwareEvidenceReport
impl UnsafeUnpin for HardwareEvidenceReport
impl UnwindSafe for HardwareEvidenceReport
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