Struct embassy_net::StaticConfigV4
source · pub struct StaticConfigV4 {
pub address: Ipv4Cidr,
pub gateway: Option<Ipv4Address>,
pub dns_servers: Vec<Ipv4Address, 3>,
}
Expand description
Static IP address configuration.
Fields§
§address: Ipv4Cidr
IP address and subnet mask.
gateway: Option<Ipv4Address>
Default gateway.
dns_servers: Vec<Ipv4Address, 3>
DNS servers.
Trait Implementations§
source§impl Clone for StaticConfigV4
impl Clone for StaticConfigV4
source§fn clone(&self) -> StaticConfigV4
fn clone(&self) -> StaticConfigV4
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 StaticConfigV4
impl Debug for StaticConfigV4
source§impl PartialEq for StaticConfigV4
impl PartialEq for StaticConfigV4
source§fn eq(&self, other: &StaticConfigV4) -> bool
fn eq(&self, other: &StaticConfigV4) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StaticConfigV4
impl StructuralPartialEq for StaticConfigV4
Auto Trait Implementations§
impl Freeze for StaticConfigV4
impl RefUnwindSafe for StaticConfigV4
impl Send for StaticConfigV4
impl Sync for StaticConfigV4
impl Unpin for StaticConfigV4
impl UnwindSafe for StaticConfigV4
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