pub enum EarlGreyEPMPError {
InvalidInitialMseccfgValue,
InvalidInitialPmpcfgValue(usize),
SanityCheckFail,
}
Expand description
EarlGrey ePMP Configuration Errors
Variants§
InvalidInitialMseccfgValue
The ePMP driver cannot be instantiated because of an unexpected
mseccfg
register value.
InvalidInitialPmpcfgValue(usize)
The ePMP driver cannot be instantiated because of an unexpected pmpcfg
register value (where the usize
value contains the index of the
pmpcfg
register).
SanityCheckFail
The ePMP registers do not match their expected values after configuration. The system cannot be assumed to be in a secure state.
Trait Implementations§
Source§impl Clone for EarlGreyEPMPError
impl Clone for EarlGreyEPMPError
Source§fn clone(&self) -> EarlGreyEPMPError
fn clone(&self) -> EarlGreyEPMPError
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 EarlGreyEPMPError
impl Debug for EarlGreyEPMPError
impl Copy for EarlGreyEPMPError
Auto Trait Implementations§
impl Freeze for EarlGreyEPMPError
impl RefUnwindSafe for EarlGreyEPMPError
impl Send for EarlGreyEPMPError
impl Sync for EarlGreyEPMPError
impl Unpin for EarlGreyEPMPError
impl UnwindSafe for EarlGreyEPMPError
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