pub enum RuntimePowerManagement {
On,
Off,
}
Expand description
Control whether a device uses, or does not use, runtime power management.
Variants§
Trait Implementations§
Source§impl Clone for RuntimePowerManagement
impl Clone for RuntimePowerManagement
Source§fn clone(&self) -> RuntimePowerManagement
fn clone(&self) -> RuntimePowerManagement
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 RuntimePowerManagement
impl Debug for RuntimePowerManagement
Source§impl From<RuntimePowerManagement> for &'static str
impl From<RuntimePowerManagement> for &'static str
Source§fn from(pm: RuntimePowerManagement) -> &'static str
fn from(pm: RuntimePowerManagement) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for RuntimePowerManagement
impl PartialEq for RuntimePowerManagement
impl Copy for RuntimePowerManagement
impl StructuralPartialEq for RuntimePowerManagement
Auto Trait Implementations§
impl Freeze for RuntimePowerManagement
impl RefUnwindSafe for RuntimePowerManagement
impl Send for RuntimePowerManagement
impl Sync for RuntimePowerManagement
impl Unpin for RuntimePowerManagement
impl UnwindSafe for RuntimePowerManagement
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