[][src]Module libmedium::sensors

Module containing the sensors and their functionality.

Structs

ReadOnlyCurr

Struct that represents a read only current sensor.

ReadOnlyEnergy

Struct that represents a read only energy sensor.

ReadOnlyFan

Struct that represents a read only fan sensor.

ReadOnlyHumidity

Struct that represents a read only humidity sensor.

ReadOnlyPower

Struct that represents a read only power sensor.

ReadOnlyPwm

Struct that represents a read only pwm sensor.

ReadOnlyTemp

Struct that represents a read only temp sensor.

ReadOnlyVolt

Struct that represents a read only voltage sensor.

ReadWriteCurr

Struct that represents a read/write current sensor.

ReadWriteEnergy

Struct that represents a read/write energy sensor.

ReadWriteFan

Struct that represents a read/write fan sensor.

ReadWriteHumidity

Struct that represents a read/write humidity sensor.

ReadWritePower

Struct that represents a read/write power sensor.

ReadWritePwm

Struct that represents a read/write pwm sensor.

ReadWriteTemp

Struct that represents a read/write temp sensor.

ReadWriteVolt

Struct that represents a read/write voltage sensor.

SensorState

A struct that represents the state of all writable 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.

CurrSensor

Trait implemented by all current sensors.

EnergySensor

Trait implemented by all energy sensors.

FanSensor

Trait implemented by all fan sensors.

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

Trait implemented by all humidity sensors.

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

Trait implemented by all power sensors.

PwmSensor

Trait implemented by all pwm sensors.

Sensor

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

SensorBase

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

TempSensor

Trait implemented by all temp sensors.

VoltSensor

Trait implemented by all voltage sensors.

WritableSensorBase

Base trait that all writable sensors must implement.