Struct embassy_net::DhcpConfig
source · pub struct DhcpConfig {
pub max_lease_duration: Option<Duration>,
pub retry_config: RetryConfig,
pub ignore_naks: bool,
pub server_port: u16,
pub client_port: u16,
}
Fields§
§max_lease_duration: Option<Duration>
§retry_config: RetryConfig
§ignore_naks: bool
Ignore NAKs.
server_port: u16
Server port config
client_port: u16
Client port config
Trait Implementations§
source§impl Clone for DhcpConfig
impl Clone for DhcpConfig
source§fn clone(&self) -> DhcpConfig
fn clone(&self) -> DhcpConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DhcpConfig
impl Debug for DhcpConfig
source§impl Default for DhcpConfig
impl Default for DhcpConfig
source§impl PartialEq<DhcpConfig> for DhcpConfig
impl PartialEq<DhcpConfig> for DhcpConfig
source§fn eq(&self, other: &DhcpConfig) -> bool
fn eq(&self, other: &DhcpConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.