Enum embassy_net::ConfigV4
source · pub enum ConfigV4 {
Static(StaticConfigV4),
Dhcp(DhcpConfig),
None,
}
Expand description
Network stack IPv4 configuration.
Variants§
Static(StaticConfigV4)
Use a static IPv4 address configuration.
Dhcp(DhcpConfig)
Use DHCP to obtain an IP address configuration.
None
Do not configure IPv6.
Auto Trait Implementations§
impl RefUnwindSafe for ConfigV4
impl Send for ConfigV4
impl Sync for ConfigV4
impl Unpin for ConfigV4
impl UnwindSafe for ConfigV4
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