Crate system_power_mode_config

Source

Structs§

ClientConfig
Defines the power configuration for a [ClientType].
ModeMatch
Defines the mode-based match criterion for selecting a power level.
SystemPowerModeConfig
This library is used to parse a system power mode configuration JSON file into a data structure which also implements some convenience methods for accessing and consuming the data.

Enums§

ClientType
A value that represents the type of client using the protocol.
SystemMode
Enumerates the supported system power modes.

Traits§

ClientConfigExt
ClientConfigTestExt
A trait that adds useful test-only methods to the ClientConfig struct.
SystemPowerModeConfigTestExt
A trait that adds useful test-only methods to the SystemPowerModeConfig struct.