#[repr(C, packed)]pub struct uuid_t {
pub time_low: network_uint32_t,
pub time_mid: network_uint16_t,
pub time_hi: network_uint16_t,
pub clk_seq_hi_res: u8,
pub clk_seq_low: u8,
pub node: [u8; 6],
}
Expand description
@brief UUID layout
Directly from rfc4122
Fields§
§time_low: network_uint32_t
< The low field of the timestamp
time_mid: network_uint16_t
< The middle field of the timestamp
time_hi: network_uint16_t
< The high field of the timestamp multiplexed with the version number
clk_seq_hi_res: u8
< The high field of the clock sequence Multiplexed with the variant
clk_seq_low: u8
< The low field of the clock sequence
node: [u8; 6]
< The spatially unique node identifier
Trait Implementations§
impl Copy for uuid_t
Auto Trait Implementations§
impl RefUnwindSafe for uuid_t
impl Send for uuid_t
impl Sync for uuid_t
impl Unpin for uuid_t
impl UnwindSafe for uuid_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