Enum Secure
#[repr(u8)]pub enum Secure {
NonSecure = 0,
Secure = 1,
}Variants§
NonSecure = 0
Both secure and non-secure access to region is allowed.
Secure = 1
Only secure access to region is allowed.
Implementations§
Trait Implementations§
impl Copy for Secure
impl Eq for Secure
§impl Ord for Secure
impl Ord for Secure
1.21.0 (const: unstable) · 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
§impl PartialOrd for Secure
impl PartialOrd for Secure
impl StructuralPartialEq for Secure
Auto Trait Implementations§
impl Freeze for Secure
impl RefUnwindSafe for Secure
impl Send for Secure
impl Sync for Secure
impl Unpin for Secure
impl UnsafeUnpin for Secure
impl UnwindSafe for Secure
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