Struct embassy_net::StaticConfig
source · pub struct StaticConfig {
pub address: Ipv4Cidr,
pub gateway: Option<Ipv4Address>,
pub dns_servers: Vec<Ipv4Address, 3>,
}
Fields§
§address: Ipv4Cidr
§gateway: Option<Ipv4Address>
§dns_servers: Vec<Ipv4Address, 3>
Trait Implementations§
source§impl Clone for StaticConfig
impl Clone for StaticConfig
source§fn clone(&self) -> StaticConfig
fn clone(&self) -> StaticConfig
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 StaticConfig
impl Debug for StaticConfig
source§impl PartialEq<StaticConfig> for StaticConfig
impl PartialEq<StaticConfig> for StaticConfig
source§fn eq(&self, other: &StaticConfig) -> bool
fn eq(&self, other: &StaticConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.