#[repr(C)]pub struct Dhcp4ModeData {
pub state: Dhcp4State,
pub config_data: Dhcp4ConfigData,
pub client_address: Ipv4Address,
pub client_mac_address: MacAddress,
pub server_address: Ipv4Address,
pub router_address: Ipv4Address,
pub subnet_mask: Ipv4Address,
pub lease_time: u32,
pub reply_packet: *const Dhcp4Packet,
}
Fields§
§state: Dhcp4State
§config_data: Dhcp4ConfigData
§client_address: Ipv4Address
§client_mac_address: MacAddress
§server_address: Ipv4Address
§router_address: Ipv4Address
§subnet_mask: Ipv4Address
§lease_time: u32
§reply_packet: *const Dhcp4Packet
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dhcp4ModeData
impl RefUnwindSafe for Dhcp4ModeData
impl !Send for Dhcp4ModeData
impl !Sync for Dhcp4ModeData
impl Unpin for Dhcp4ModeData
impl UnwindSafe for Dhcp4ModeData
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