Enum PowerMode Copy item path Source pub enum PowerMode {
MaximumPerformance,
BalancedPerformance,
PowerSaving,
Static,
OSControlled,
OEM,
}
This value shall indicate the system performs at the highest speeds possible. This mode should be used when performance is the top priority.
This value shall indicate the system performs at the highest speeds possible when the utilization is high and performs at reduced speeds when the utilization is low to save power. This mode is a compromise between MaximumPerformance
and PowerSaving
.
This value shall indicate the system performs at reduced speeds to save power. This mode should be used when power saving is the top priority.
This value shall indicate the system performs at a static base speed.
This value shall indicate the system performs at a operating system controlled power mode.
This value shall indicate the system performs at an OEM-defined power mode.
Performs copy-assignment from
source
.
Read more Formats the value using the given formatter.
Read more Returns the “default value” for a type.
Read more Deserialize this value from the given Serde deserializer.
Read more Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Serialize this value into the given Serde serializer.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit
)
Performs copy-assignment from
self
to
dest
.
Read more Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From <T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.