Skip to main content

PowerSource

Trait PowerSource 

Source
pub trait PowerSource {
    // Required method
    fn read_watts(&self) -> f64;
}
Expand description

Trait for reading instantaneous power (NVML, RAPL, etc.).

Required Methods§

Source

fn read_watts(&self) -> f64

Implementors§