pub struct HardwareQueryBuilder { /* private fields */ }
Expand description
Hardware query builder for selective information gathering
Implementations§
Source§impl HardwareQueryBuilder
impl HardwareQueryBuilder
Sourcepub fn with_memory(self) -> Self
pub fn with_memory(self) -> Self
Include memory information in the query
Sourcepub fn with_storage(self) -> Self
pub fn with_storage(self) -> Self
Include storage information in the query
Sourcepub fn with_network(self) -> Self
pub fn with_network(self) -> Self
Include network information in the query
Sourcepub fn with_battery(self) -> Self
pub fn with_battery(self) -> Self
Include battery information in the query
Sourcepub fn with_thermal(self) -> Self
pub fn with_thermal(self) -> Self
Include thermal information in the query
Sourcepub fn with_virtualization(self) -> Self
pub fn with_virtualization(self) -> Self
Include virtualization information in the query
Sourcepub fn with_power(self) -> Self
pub fn with_power(self) -> Self
Include power management information (requires monitoring feature)
Sourcepub fn with_basic(self) -> Self
pub fn with_basic(self) -> Self
Include basic system information (CPU, memory, storage)
Sourcepub fn with_ai_focused(self) -> Self
pub fn with_ai_focused(self) -> Self
Include AI/ML relevant information (CPU, GPU, memory)
Sourcepub fn with_gaming_focused(self) -> Self
pub fn with_gaming_focused(self) -> Self
Include gaming-relevant information (CPU, GPU, memory, thermal)
Sourcepub fn with_server_focused(self) -> Self
pub fn with_server_focused(self) -> Self
Include server/enterprise relevant information
Sourcepub fn filter_gpus<F>(self, _filter: F) -> Self
pub fn filter_gpus<F>(self, _filter: F) -> Self
Filter GPUs by a custom predicate
Sourcepub fn filter_storage<F>(self, _filter: F) -> Self
pub fn filter_storage<F>(self, _filter: F) -> Self
Filter storage devices by a custom predicate
Sourcepub fn filter_network<F>(self, _filter: F) -> Self
pub fn filter_network<F>(self, _filter: F) -> Self
Filter network interfaces by a custom predicate
Sourcepub fn query(self) -> Result<CustomHardwareInfo>
pub fn query(self) -> Result<CustomHardwareInfo>
Execute the query and return the requested hardware information
Sourcepub fn quick_query(self) -> Result<CustomHardwareInfo>
pub fn quick_query(self) -> Result<CustomHardwareInfo>
Execute a quick query that only gathers essential information
Source§impl HardwareQueryBuilder
impl HardwareQueryBuilder
Sourcepub fn cpu_and_memory() -> Result<CustomHardwareInfo>
pub fn cpu_and_memory() -> Result<CustomHardwareInfo>
Quick CPU and memory information
Sourcepub fn gpu_info() -> Result<CustomHardwareInfo>
pub fn gpu_info() -> Result<CustomHardwareInfo>
Quick GPU information for AI/gaming
Sourcepub fn health_check() -> Result<CustomHardwareInfo>
pub fn health_check() -> Result<CustomHardwareInfo>
System health overview
Sourcepub fn performance_check() -> Result<CustomHardwareInfo>
pub fn performance_check() -> Result<CustomHardwareInfo>
Performance overview for gaming/AI