Struct esp_idf_svc::netif::NetifConfiguration
source · pub struct NetifConfiguration {
pub key: String<32>,
pub description: String<8>,
pub route_priority: u32,
pub ip_configuration: Configuration,
pub stack: NetifStack,
pub custom_mac: Option<[u8; 6]>,
}
Fields§
§key: String<32>
§description: String<8>
§route_priority: u32
§ip_configuration: Configuration
§stack: NetifStack
§custom_mac: Option<[u8; 6]>
Implementations§
source§impl NetifConfiguration
impl NetifConfiguration
pub fn eth_default_client() -> Self
pub fn eth_default_router() -> Self
pub fn wifi_default_client() -> Self
pub fn wifi_default_router() -> Self
Trait Implementations§
source§impl Clone for NetifConfiguration
impl Clone for NetifConfiguration
source§fn clone(&self) -> NetifConfiguration
fn clone(&self) -> NetifConfiguration
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NetifConfiguration
impl Debug for NetifConfiguration
source§impl PartialEq for NetifConfiguration
impl PartialEq for NetifConfiguration
source§fn eq(&self, other: &NetifConfiguration) -> bool
fn eq(&self, other: &NetifConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NetifConfiguration
impl StructuralPartialEq for NetifConfiguration
Auto Trait Implementations§
impl Freeze for NetifConfiguration
impl RefUnwindSafe for NetifConfiguration
impl Send for NetifConfiguration
impl Sync for NetifConfiguration
impl Unpin for NetifConfiguration
impl UnwindSafe for NetifConfiguration
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)