[][src]Trait sysinfo::ComponentExt

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.

Loading content...

Implementors

impl ComponentExt for Component[src]

Loading content...