#[repr(u8)]pub enum Cmp2 {
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 Ord for Cmp2
impl Ord for Cmp2
Source§impl PartialOrd for Cmp2
impl PartialOrd for Cmp2
impl Copy for Cmp2
impl Eq for Cmp2
impl StructuralPartialEq for Cmp2
Auto Trait Implementations§
impl Freeze for Cmp2
impl RefUnwindSafe for Cmp2
impl Send for Cmp2
impl Sync for Cmp2
impl Unpin for Cmp2
impl UnwindSafe for Cmp2
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