Trait sysinfo::ComponentExt
[−]
[src]
pub trait ComponentExt { fn get_temperature(&self) -> f32; fn get_max(&self) -> f32; fn get_critical(&self) -> Option<f32>; fn get_label(&self) -> &str; }
Getting a component temperature information.
Required Methods
fn get_temperature(&self) -> f32
Returns the component's temperature (in celsius degree).
fn get_max(&self) -> f32
Returns the maximum temperature of this component.
fn get_critical(&self) -> Option<f32>
Returns the highest temperature before the computer halts.
fn get_label(&self) -> &str
Returns component's label.
Implementors
impl ComponentExt for Component