#[repr(C)]
pub union eui64_t {
pub uint64: network_uint64_t,
pub uint8: [u8; 8],
pub uint16: [network_uint16_t; 4],
pub uint32: [network_uint32_t; 2],
}
Expand description
@brief Data type to represent an EUI-64.
Fields§
§uint64: network_uint64_t
< represented as 64 bit value
uint8: [u8; 8]
< split into 8 8-bit words.
uint16: [network_uint16_t; 4]
< split into 4 16-bit words.
uint32: [network_uint32_t; 2]
< split into 2 32-bit words.
Trait Implementations§
impl Copy for eui64_t
Auto Trait Implementations§
impl RefUnwindSafe for eui64_t
impl Send for eui64_t
impl Sync for eui64_t
impl Unpin for eui64_t
impl UnwindSafe for eui64_t
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