#[repr(C, packed(1))]pub struct Dhcp4Packet {
pub size: u32,
pub length: u32,
pub header: Dhcp4Header,
pub magik: u32,
pub option: [u8; 0],
}
Fields§
§size: u32
§length: u32
§header: Dhcp4Header
§magik: u32
§option: [u8; 0]
Start of the DHCP packed option data.
Note that this field is actually a variable-length array.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dhcp4Packet
impl RefUnwindSafe for Dhcp4Packet
impl Send for Dhcp4Packet
impl Sync for Dhcp4Packet
impl Unpin for Dhcp4Packet
impl UnwindSafe for Dhcp4Packet
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