[][src]Module libmedium::units

Units used in this library.

Structs

Accuracy

Struct that represents the accuracy of a power sensor.

AngularVelocity

Struct that represents a frequency.

Current

Struct that represents an electrical current.

Energy

Struct that represents used energy.

Error

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

FanDivisor

A struct representing a fan divisor. Fan divisors can only be powers of two.

Frequency

Struct that represents a frequency.

Humidity

Struct that represents humidity.

Power

Struct that represents electrical power.

Pwm

Struct that represents a pwm value between 0 and 255.

Temperature

Struct that represents a temperature.

Voltage

Struct that represents an electrical voltage.

Enums

PwmEnable

Enum that represents the control states a pwm can be in.

PwmMode

Struct that represents the modes by which a fan's speed can be regulated.

TempType

Enum that represents the different temp sensor types.

Traits

Raw

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