#[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,
}
Fields§
§discover_try_count: u32
§discover_timeout: *mut u32
§request_try_count: u32
§request_timeout: *mut u32
§client_address: Ipv4Address
§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>
§callback_context: *mut c_void
§option_count: u32
§option_list: *mut *const Dhcp4PacketOption
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dhcp4ConfigData
impl RefUnwindSafe for Dhcp4ConfigData
impl !Send for Dhcp4ConfigData
impl !Sync for Dhcp4ConfigData
impl Unpin for Dhcp4ConfigData
impl UnwindSafe for Dhcp4ConfigData
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