pub struct HardwareFingerprint {
pub gpu: String,
pub driver_major: Option<u32>,
pub sm_clock_max_mhz: Option<f64>,
pub mem_total_kb: Option<u64>,
pub thermal_alert: Option<bool>,
pub hottest_chassis_c: Option<f64>,
pub postcheck_valid: Option<bool>,
}Expand description
2026-09-26: What decides equivalence, read off a record or a live box.
Fields§
§gpu: String2026-09-26: The accelerator name as the driver reports it (NVIDIA GB10).
driver_major: Option<u32>2026-09-26: The driver’s major version (580 of 580.95.05).
sm_clock_max_mhz: Option<f64>2026-09-26: The box’s own SM clock ceiling (clocks.max.sm), MHz.
mem_total_kb: Option<u64>2026-09-26: MemTotal from /proc/meminfo, kB.
thermal_alert: Option<bool>2026-09-26: super::state::ThrottleActive::thermal at capture.
hottest_chassis_c: Option<f64>2026-09-26: The hottest chassis zone at capture, °C.
postcheck_valid: Option<bool>2026-09-26: For a record: whether its postcheck was super::policy::Validity::Valid.
None for a live box, or a record without a report or postcheck.
Implementations§
Source§impl HardwareFingerprint
impl HardwareFingerprint
Sourcepub fn from_record(record: &GateRecord) -> Self
pub fn from_record(record: &GateRecord) -> Self
2026-09-26: From a record: static fields off hardware, live fields off the
before capture, validity off the postcheck.
Sourcepub fn from_live(hardware: &Hardware, state: &HardwareState) -> Self
pub fn from_live(hardware: &Hardware, state: &HardwareState) -> Self
2026-09-26: From a live box, before anything runs.
Trait Implementations§
Source§impl Clone for HardwareFingerprint
impl Clone for HardwareFingerprint
Source§fn clone(&self) -> HardwareFingerprint
fn clone(&self) -> HardwareFingerprint
Returns a duplicate of the value. Read more
1.0.0 · 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 HardwareFingerprint
impl Debug for HardwareFingerprint
Source§impl<'de> Deserialize<'de> for HardwareFingerprint
impl<'de> Deserialize<'de> for HardwareFingerprint
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 HardwareFingerprint
impl PartialEq for HardwareFingerprint
Source§impl Serialize for HardwareFingerprint
impl Serialize for HardwareFingerprint
impl StructuralPartialEq for HardwareFingerprint
Auto Trait Implementations§
impl Freeze for HardwareFingerprint
impl RefUnwindSafe for HardwareFingerprint
impl Send for HardwareFingerprint
impl Sync for HardwareFingerprint
impl Unpin for HardwareFingerprint
impl UnwindSafe for HardwareFingerprint
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.