#[repr(C, packed(1))]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 Freeze for uuid_t
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
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: 16 bytes