pub struct VerifiedHardwareCardIdentity { /* private fields */ }Expand description
Strict, continuous physical-card identity recovered from the transport.
A value is created only after re-running the existing pre-load, post-load, and post-run native-XRT continuity checks, including the raw platform and host reports. It is not a route seal and does not prove current card ownership.
ⓘ
use serde::de::DeserializeOwned;
use u280_evidence_oracle::VerifiedHardwareCardIdentity;
fn require_deserialize<T: DeserializeOwned>() {}
require_deserialize::<VerifiedHardwareCardIdentity>();ⓘ
use u280_evidence_oracle::VerifiedHardwareCardIdentity;
fn require_clone<T: Clone>() {}
require_clone::<VerifiedHardwareCardIdentity>();Implementations§
Source§impl VerifiedHardwareCardIdentity
impl VerifiedHardwareCardIdentity
Sourcepub fn device_index(&self) -> u64
pub fn device_index(&self) -> u64
Exact XRT device index used by the run.
Sourcepub fn device_name(&self) -> &str
pub fn device_name(&self) -> &str
Exact XRT device/shell name.
Sourcepub fn xmc_serial_number(&self) -> &str
pub fn xmc_serial_number(&self) -> &str
Exact XMC serial number.
Sourcepub fn shell_vbnv(&self) -> &str
pub fn shell_vbnv(&self) -> &str
Exact U280 shell VBNV.
Sourcepub fn logic_uuid(&self) -> &str
pub fn logic_uuid(&self) -> &str
Exact shell logic UUID.
Sourcepub fn interface_uuid(&self) -> &str
pub fn interface_uuid(&self) -> &str
Exact shell interface UUID.
Sourcepub fn xrt_build(&self) -> &VerifiedXrtBuildIdentity
pub fn xrt_build(&self) -> &VerifiedXrtBuildIdentity
Strict XRT build identity.
Sourcepub fn xclbin(&self) -> &VerifiedHardwareXclbinIdentity
pub fn xclbin(&self) -> &VerifiedHardwareXclbinIdentity
Strict programmed xclbin identity.
Trait Implementations§
Source§impl Debug for VerifiedHardwareCardIdentity
impl Debug for VerifiedHardwareCardIdentity
Source§impl PartialEq for VerifiedHardwareCardIdentity
impl PartialEq for VerifiedHardwareCardIdentity
Source§fn eq(&self, other: &VerifiedHardwareCardIdentity) -> bool
fn eq(&self, other: &VerifiedHardwareCardIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VerifiedHardwareCardIdentity
impl StructuralPartialEq for VerifiedHardwareCardIdentity
Auto Trait Implementations§
impl Freeze for VerifiedHardwareCardIdentity
impl RefUnwindSafe for VerifiedHardwareCardIdentity
impl Send for VerifiedHardwareCardIdentity
impl Sync for VerifiedHardwareCardIdentity
impl Unpin for VerifiedHardwareCardIdentity
impl UnsafeUnpin for VerifiedHardwareCardIdentity
impl UnwindSafe for VerifiedHardwareCardIdentity
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