Enum psci::SuspendMode
source · [−]pub enum SuspendMode {
PlatformCoordinated,
OsInitiated,
}
Expand description
The mode to be used by CPU_SUSPEND
, as set by PSCI_SET_SUSPEND_MODE
.
Variants
PlatformCoordinated
Platform-coordinated mode.
OsInitiated
OS-initiated mode.
Trait Implementations
sourceimpl Clone for SuspendMode
impl Clone for SuspendMode
sourcefn clone(&self) -> SuspendMode
fn clone(&self) -> SuspendMode
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 SuspendMode
impl Debug for SuspendMode
sourceimpl From<SuspendMode> for u32
impl From<SuspendMode> for u32
sourcefn from(suspend_mode: SuspendMode) -> u32
fn from(suspend_mode: SuspendMode) -> u32
Converts to this type from the input type.
sourceimpl PartialEq<SuspendMode> for SuspendMode
impl PartialEq<SuspendMode> for SuspendMode
impl Copy for SuspendMode
impl Eq for SuspendMode
impl StructuralEq for SuspendMode
impl StructuralPartialEq for SuspendMode
Auto Trait Implementations
impl RefUnwindSafe for SuspendMode
impl Send for SuspendMode
impl Sync for SuspendMode
impl Unpin for SuspendMode
impl UnwindSafe for SuspendMode
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