pub enum PowerManagementMode {
SuperSave,
Aggressive,
PowerSave,
Performance,
ThroughputThrottling,
None,
}
Expand description
Power management modes.
Variants§
SuperSave
Custom, officially unsupported mode. Use at your own risk.
All power-saving features set to their max at only a marginal decrease in power consumption
as oppposed to Aggressive
.
Aggressive
Aggressive power saving mode.
PowerSave
The default mode.
Performance
Performance is prefered over power consumption but still some power is conserved as opposed to
None
.
ThroughputThrottling
Unlike all the other PM modes, this lowers the power consumption at all times at the cost of a much lower throughput.
None
No power management is configured. This consumes the most power.
Trait Implementations§
Source§impl Clone for PowerManagementMode
impl Clone for PowerManagementMode
Source§fn clone(&self) -> PowerManagementMode
fn clone(&self) -> PowerManagementMode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PowerManagementMode
impl Debug for PowerManagementMode
Source§impl Default for PowerManagementMode
impl Default for PowerManagementMode
Source§impl PartialEq for PowerManagementMode
impl PartialEq for PowerManagementMode
impl Copy for PowerManagementMode
impl Eq for PowerManagementMode
impl StructuralPartialEq for PowerManagementMode
Auto Trait Implementations§
impl Freeze for PowerManagementMode
impl RefUnwindSafe for PowerManagementMode
impl Send for PowerManagementMode
impl Sync for PowerManagementMode
impl Unpin for PowerManagementMode
impl UnwindSafe for PowerManagementMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)