#[repr(u8)]pub enum RomMemRuleRule2 {
NONSECURE_NONPRIV_USER_ALLOWED = 0,
NONSECURE_PRIV_USER_ALLOWED = 1,
SECURE_NONPRIV_USER_ALLOWED = 2,
SECURE_PRIV_USER_ALLOWED = 3,
}Variants§
NONSECURE_NONPRIV_USER_ALLOWED = 0
Non-secure and non-privilege user access allowed
NONSECURE_PRIV_USER_ALLOWED = 1
Non-secure and privilege access allowed
SECURE_NONPRIV_USER_ALLOWED = 2
Secure and non-privilege user access allowed
SECURE_PRIV_USER_ALLOWED = 3
Secure and privilege user access allowed
Implementations§
Trait Implementations§
Source§impl Clone for RomMemRuleRule2
impl Clone for RomMemRuleRule2
Source§fn clone(&self) -> RomMemRuleRule2
fn clone(&self) -> RomMemRuleRule2
Returns a duplicate 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 RomMemRuleRule2
impl Debug for RomMemRuleRule2
Source§impl From<RomMemRuleRule2> for u8
impl From<RomMemRuleRule2> for u8
Source§fn from(val: RomMemRuleRule2) -> u8
fn from(val: RomMemRuleRule2) -> u8
Converts to this type from the input type.
Source§impl From<u8> for RomMemRuleRule2
impl From<u8> for RomMemRuleRule2
Source§fn from(val: u8) -> RomMemRuleRule2
fn from(val: u8) -> RomMemRuleRule2
Converts to this type from the input type.
Source§impl Ord for RomMemRuleRule2
impl Ord for RomMemRuleRule2
Source§fn cmp(&self, other: &RomMemRuleRule2) -> Ordering
fn cmp(&self, other: &RomMemRuleRule2) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RomMemRuleRule2
impl PartialEq for RomMemRuleRule2
Source§impl PartialOrd for RomMemRuleRule2
impl PartialOrd for RomMemRuleRule2
impl Copy for RomMemRuleRule2
impl Eq for RomMemRuleRule2
impl StructuralPartialEq for RomMemRuleRule2
Auto Trait Implementations§
impl Freeze for RomMemRuleRule2
impl RefUnwindSafe for RomMemRuleRule2
impl Send for RomMemRuleRule2
impl Sync for RomMemRuleRule2
impl Unpin for RomMemRuleRule2
impl UnwindSafe for RomMemRuleRule2
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