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