Trait sysinfo::ProcessorExt
[−]
[src]
pub trait ProcessorExt {
fn get_cpu_usage(&self) -> f32;
fn get_name(&self) -> &str;
}Contains all the methods of the Processor struct.
Required Methods
fn get_cpu_usage(&self) -> f32
Returns this processor's usage.
fn get_name(&self) -> &str
Returns this processor's name.
Implementors
impl ProcessorExt for Processor