[][src]Union esp_idf_bindgen::wifi_config_t

#[repr(C)]pub union wifi_config_t {
    pub ap: wifi_ap_config_t,
    pub sta: wifi_sta_config_t,
    // some fields omitted
}

@brief Configuration data for ESP32 AP or STA.

The usage of this union (for ap or sta configuration) is determined by the accompanying interface argument passed to esp_wifi_set_config() or esp_wifi_get_config()

Fields

ap: wifi_ap_config_t

< configuration of AP

sta: wifi_sta_config_t

< configuration of STA

Trait Implementations

impl Clone for wifi_config_t[src]

impl Copy for wifi_config_t[src]

Auto Trait Implementations

impl Send for wifi_config_t

impl Sync for wifi_config_t

impl Unpin for wifi_config_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.