#[repr(u8)]pub enum Enet {
Show 16 variants
NONSECURE_NONPRIV_USER_ALLOWED = 0,
NONSECURE_PRIV_USER_ALLOWED = 1,
SECURE_NONPRIV_USER_ALLOWED = 2,
SECURE_PRIV_USER_ALLOWED = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}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.
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
Source§impl Ord for Enet
impl Ord for Enet
Source§impl PartialOrd for Enet
impl PartialOrd for Enet
impl Copy for Enet
impl Eq for Enet
impl StructuralPartialEq for Enet
Auto Trait Implementations§
impl Freeze for Enet
impl RefUnwindSafe for Enet
impl Send for Enet
impl Sync for Enet
impl Unpin for Enet
impl UnwindSafe for Enet
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