Trait sysinfo::ComponentExt

source ·
pub trait ComponentExt {
    fn get_temperature(&self) -> f32;
    fn get_max(&self) -> f32;
    fn get_critical(&self) -> Option<f32>;
    fn get_label(&self) -> &str;
}
Expand description

Getting a component temperature information.

Required Methods§

Returns the component’s temperature (in celsius degree).

Returns the maximum temperature of this component.

Returns the highest temperature before the computer halts.

Returns component’s label.

Implementors§