Struct Dhcp4ConfigData
Source #[repr(C)]
pub struct Dhcp4ConfigData {
pub discover_try_count: u32,
pub discover_timeout: *mut u32,
pub request_try_count: u32,
pub request_timeout: *mut u32,
pub client_address: Ipv4Address,
pub callback: Option<unsafe extern "efiapi" fn(this: *mut Dhcp4Protocol, context: *const c_void, current_state: Dhcp4State, dhcp4_event: Dhcp4Event, packet: *const Dhcp4Packet, new_packet: *mut *const Dhcp4Packet) -> Status>,
pub callback_context: *mut c_void,
pub option_count: u32,
pub option_list: *mut *const Dhcp4PacketOption,
}
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.