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