pub struct HwmonChip {
pub chip: SensorChip,
pub power_w: Vec<(String, f32)>,
pub is_apu: bool,
}Expand description
A hwmon chip together with the power channels that SensorChip does not carry.
Fields§
§chip: SensorChipTemperatures and fans in their serializable form.
power_w: Vec<(String, f32)>Power readings in watts (power<N>_input, or power<N>_average).
is_apu: boolamdgpu of an APU (integrated graphics): only APUs have the vddnb
voltage rail. Discrete GPUs report their board power instead.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HwmonChip
impl RefUnwindSafe for HwmonChip
impl Send for HwmonChip
impl Sync for HwmonChip
impl Unpin for HwmonChip
impl UnsafeUnpin for HwmonChip
impl UnwindSafe for HwmonChip
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more