pub struct Component { /* private fields */ }
Expand description
More information can be found at http://lxr.free-electrons.com/source/Documentation/hwmon/sysfs-interface
Implementations§
Trait Implementations§
source§impl ComponentExt for Component
impl ComponentExt for Component
source§fn get_temperature(&self) -> f32
fn get_temperature(&self) -> f32
Returns the component’s temperature (in celsius degree).
source§fn get_critical(&self) -> Option<f32>
fn get_critical(&self) -> Option<f32>
Returns the highest temperature before the computer halts.