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