pub struct ARMHardwareInfo {
pub system_type: ARMSystemType,
pub board_model: String,
pub board_revision: Option<String>,
pub serial_number: Option<String>,
pub cpu_architecture: String,
pub cpu_cores: u32,
pub gpu_info: Option<String>,
pub acceleration_features: Vec<String>,
pub ml_capabilities: HashMap<String, String>,
pub memory_mb: Option<u64>,
pub interfaces: Vec<String>,
pub power_info: Option<PowerInfo>,
}
Expand description
ARM hardware information
Fields§
§system_type: ARMSystemType
System type
board_model: String
Board model
board_revision: Option<String>
Board revision
serial_number: Option<String>
Serial number
cpu_architecture: String
CPU architecture
cpu_cores: u32
CPU cores
gpu_info: Option<String>
GPU information (if available)
acceleration_features: Vec<String>
Available acceleration features
ml_capabilities: HashMap<String, String>
AI/ML capabilities
memory_mb: Option<u64>
Memory configuration
interfaces: Vec<String>
Available interfaces
power_info: Option<PowerInfo>
Power information
Implementations§
Source§impl ARMHardwareInfo
impl ARMHardwareInfo
Sourcepub fn detect() -> Result<Option<ARMHardwareInfo>>
pub fn detect() -> Result<Option<ARMHardwareInfo>>
Detect ARM-based hardware information
Trait Implementations§
Source§impl Clone for ARMHardwareInfo
impl Clone for ARMHardwareInfo
Source§fn clone(&self) -> ARMHardwareInfo
fn clone(&self) -> ARMHardwareInfo
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 ARMHardwareInfo
impl Debug for ARMHardwareInfo
Source§impl<'de> Deserialize<'de> for ARMHardwareInfo
impl<'de> Deserialize<'de> for ARMHardwareInfo
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
Auto Trait Implementations§
impl Freeze for ARMHardwareInfo
impl RefUnwindSafe for ARMHardwareInfo
impl Send for ARMHardwareInfo
impl Sync for ARMHardwareInfo
impl Unpin for ARMHardwareInfo
impl UnwindSafe for ARMHardwareInfo
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