Enum psci::PowerState
source · [−]pub enum PowerState {
HwOn,
HwOff,
HwStandby,
}
Expand description
The power state of a node in the power domain topology, as returned by NODE_HW_STATE
.
Variants
HwOn
The node is in the run state.
HwOff
The node is fully powered down.
HwStandby
The node is in a standby or retention power state.
Trait Implementations
sourceimpl Clone for PowerState
impl Clone for PowerState
sourcefn clone(&self) -> PowerState
fn clone(&self) -> PowerState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PowerState
impl Debug for PowerState
sourceimpl PartialEq<PowerState> for PowerState
impl PartialEq<PowerState> for PowerState
sourceimpl TryFrom<i32> for PowerState
impl TryFrom<i32> for PowerState
impl Copy for PowerState
impl Eq for PowerState
impl StructuralEq for PowerState
impl StructuralPartialEq for PowerState
Auto Trait Implementations
impl RefUnwindSafe for PowerState
impl Send for PowerState
impl Sync for PowerState
impl Unpin for PowerState
impl UnwindSafe for PowerState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more