#[repr(u8)]pub enum EnableSecureChecking {
_RESERVED_0 = 0,
Enabled = 1,
Disabled = 2,
_RESERVED_3 = 3,
}Variants§
_RESERVED_0 = 0
Enabled = 1
Enables secure checking. Violation can be detected when the security level of a transaction does not meet the security rule of the slave or memory to be accessed.
Disabled = 2
Disables secure checking. Even if the security level of a transaction does not conform to the security rule of the slave or memory, it will not be detected as a violation.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for EnableSecureChecking
impl Clone for EnableSecureChecking
Source§fn clone(&self) -> EnableSecureChecking
fn clone(&self) -> EnableSecureChecking
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 From<EnableSecureChecking> for u8
impl From<EnableSecureChecking> for u8
Source§fn from(val: EnableSecureChecking) -> u8
fn from(val: EnableSecureChecking) -> u8
Converts to this type from the input type.
Source§impl From<u8> for EnableSecureChecking
impl From<u8> for EnableSecureChecking
Source§fn from(val: u8) -> EnableSecureChecking
fn from(val: u8) -> EnableSecureChecking
Converts to this type from the input type.
Source§impl Ord for EnableSecureChecking
impl Ord for EnableSecureChecking
Source§fn cmp(&self, other: &EnableSecureChecking) -> Ordering
fn cmp(&self, other: &EnableSecureChecking) -> 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 EnableSecureChecking
impl PartialEq for EnableSecureChecking
Source§impl PartialOrd for EnableSecureChecking
impl PartialOrd for EnableSecureChecking
impl Copy for EnableSecureChecking
impl Eq for EnableSecureChecking
impl StructuralPartialEq for EnableSecureChecking
Auto Trait Implementations§
impl Freeze for EnableSecureChecking
impl RefUnwindSafe for EnableSecureChecking
impl Send for EnableSecureChecking
impl Sync for EnableSecureChecking
impl Unpin for EnableSecureChecking
impl UnwindSafe for EnableSecureChecking
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