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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)