pub struct DhcpPacket {}Expand description
The DhcpPacket struct represents a parsed DHCP packet.
Fields§
§op: u8§htype: u8§hlen: u8§hops: u8§xid: u32§secs: u16§flags: u16§ciaddr: [u8; 4]§yiaddr: [u8; 4]§siaddr: [u8; 4]§giaddr: [u8; 4]§chaddr: [u8; 16]§sname: [u8; 64]§file: [u8; 128]§options: Vec<u8>Trait Implementations§
Source§impl Debug for DhcpPacket
impl Debug for DhcpPacket
Auto Trait Implementations§
impl Freeze for DhcpPacket
impl RefUnwindSafe for DhcpPacket
impl Send for DhcpPacket
impl Sync for DhcpPacket
impl Unpin for DhcpPacket
impl UnsafeUnpin for DhcpPacket
impl UnwindSafe for DhcpPacket
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