pub enum PsciReturn {
Success,
NotSupported,
InvalidParameters,
Word(u32),
}Expand description
Return value placed in X0 after a PSCI call.
Variants§
Success
PSCI_RET_SUCCESS.
NotSupported
PSCI_RET_NOT_SUPPORTED.
InvalidParameters
PSCI_RET_INVALID_PARAMETERS.
Word(u32)
Numeric word — used by AFFINITY_INFO (0/1/2), PSCI_VERSION, and MIGRATE_INFO_TYPE.
Implementations§
Trait Implementations§
Source§impl Clone for PsciReturn
impl Clone for PsciReturn
Source§fn clone(&self) -> PsciReturn
fn clone(&self) -> PsciReturn
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PsciReturn
impl Debug for PsciReturn
Source§impl PartialEq for PsciReturn
impl PartialEq for PsciReturn
Source§fn eq(&self, other: &PsciReturn) -> bool
fn eq(&self, other: &PsciReturn) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PsciReturn
impl Eq for PsciReturn
impl StructuralPartialEq for PsciReturn
Auto Trait Implementations§
impl Freeze for PsciReturn
impl RefUnwindSafe for PsciReturn
impl Send for PsciReturn
impl Sync for PsciReturn
impl Unpin for PsciReturn
impl UnsafeUnpin for PsciReturn
impl UnwindSafe for PsciReturn
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