#[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 Freeze for eui64_t
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes