[][src]Module libmedium::sensors

Module containing the sensors and their functionality.

Modules

curr

Module containing the current sensors and their related functionality.

energy

Module containing the energy sensors and their related functionality.

fan

Module containing the fan sensors and their related functionality.

humidity

Module containing the humidity sensors and their related functionality.

power

Module containing the power sensors and their related functionality.

pwm

Module containing the pwm sensors and their related functionality.

subfunction

Module containing sensor subfunctions.

temp

Module containing the temp sensors and their related functionality.

voltage

Module containing the voltage sensors and their related functionality.

Structs

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

RawError

Error which can be returned from reading a raw sensor value.

SensorError

Error which can be returned from interacting with sensors.

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.

Faulty

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

Highest

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

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.

Raw

Trait that needs to be implemented by all types that raw sensor strings should be converted into.

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.

WritableSensorBase

Base trait that all writable sensors must implement.