Module simple

Source
Expand description

Simplified hardware query interface - Start here for easy hardware detection

This module provides the easiest way to get hardware information without complexity. Perfect for getting started or when you need a quick system overview.

§Quick Examples

use hardware_query::SystemOverview;

// Get everything in one line
let overview = SystemOverview::quick()?;
println!("{}", overview);  // Pretty-printed system summary

// Access specific information
println!("CPU: {} cores", overview.cpu.cores);
println!("Memory: {:.1} GB", overview.memory_gb);
println!("Health: {:?}", overview.health.overall_status);

Structs§

SimpleCPU
Simplified CPU information
SimpleGPU
Simplified GPU information
SimpleStorage
Simplified storage summary
SystemHealth
System health overview
SystemOverview
Simplified system overview with the most commonly needed information

Enums§

HealthStatus
Overall system health status
PowerStatus
Power consumption status
TemperatureStatus
Temperature status