[][src]Module libmedium::sensors

Module containing the sensors and their functionality.

Structs

SensorState

A struct that represents the state of all writeable subfunctions of a sensor. It can be used to reset a sensor to a previous state or copy its settings to another sensor.

Enums

Error

Error which can be returned from interacting with sensors.

SensorSubFunctionType

Traits

Average

Trait implemented by all sensors that can have an average subfunction.

Crit

Trait implemented by all sensors that can have a crit subfunction.

CurrentSensor

Helper trait that sums up all functionality of a read-only current sensor.

Enable

Trait implemented by all sensors except for pwm. It contains the functionality to read the enable subfunctions.

EnergySensor

Helper trait that sums up all functionality of a read-only energy sensor.

FanSensor

Helper trait that sums up all functionality of a read-only fan sensor.

Faulty

Trait implemented by all sensors that can have a faulty subfunction.

Highest

Trait implemented by all sensors that can have a highest subfunction.

HumiditySensor

Helper trait that sums up all functionality of a read-only humidity sensor.

Input

Trait implemented by all sensors except for pwm. It contains the functionality to read the input subfunctions.

LowCrit

Trait implemented by all sensors that can have a lcrit subfunction.

Lowest

Trait implemented by all sensors that can have a lowest subfunction.

Max

Trait implemented by all sensors that can have a max subfunction.

Min

Trait implemented by all sensors that can have a min subfunction.

PowerSensor

Helper trait that sums up all functionality of a read-only power sensor.

PwmSensor

Helper trait that sums up all functionality of a read-only pwm sensor.

Sensor

Base trait that all sensors must implement. It contains the functionality to get a sensor's name, index or supported subfunctions.

TempSensor

Helper trait that sums up all functionality of a read-only temp sensor.

VoltageSensor

Helper trait that sums up all functionality of a read-only voltage sensor.

WriteableCrit

Trait implemented by all writeable sensors that can have a crit subfunction.

WriteableCurrentSensor

Helper trait that sums up all functionality of a read-write current sensor.

WriteableEnable

Trait implemented by all writeable sensors except for pwm.

WriteableEnergySensor

Helper trait that sums up all functionality of a read-write energy sensor.

WriteableFanSensor

Helper trait that sums up all functionality of a read-write fan sensor.

WriteableHumiditySensor

Helper trait that sums up all functionality of a read-write humidity sensor.

WriteableLowCrit

Trait implemented by all writeable sensors that can have a lcrit subfunction.

WriteableMax

Trait implemented by all writeable sensors that can have a max subfunction.

WriteableMin

Trait implemented by all writeable sensors that can have a min subfunction.

WriteablePowerSensor

Helper trait that sums up all functionality of a read-write power sensor.

WriteablePwmSensor

Helper trait that sums up all functionality of a read-write pwm sensor.

WriteableSensor

Base trait that all writeable sensors must implement.

WriteableTempSensor

Helper trait that sums up all functionality of a read-write temp sensor.

WriteableVoltageSensor

Helper trait that sums up all functionality of a read-write voltage sensor.