pub struct DHCPRequest {
pub pkt: Dhcp,
pub serverip: Ipv4Addr,
pub ifindex: u32,
pub if_mtu: Option<u32>,
pub if_router: Option<Ipv4Addr>,
}Fields§
§pkt: DhcpThe DHCP request packet.
serverip: Ipv4AddrThe IP address that the request was received on.
ifindex: u32The interface index that the request was received on.
if_mtu: Option<u32>§if_router: Option<Ipv4Addr>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DHCPRequest
impl RefUnwindSafe for DHCPRequest
impl Send for DHCPRequest
impl Sync for DHCPRequest
impl Unpin for DHCPRequest
impl UnsafeUnpin for DHCPRequest
impl UnwindSafe for DHCPRequest
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