[][src]Union esp_idf_bindgen::system_event_info_t

#[repr(C)]pub union system_event_info_t {
    pub connected: system_event_sta_connected_t,
    pub disconnected: system_event_sta_disconnected_t,
    pub scan_done: system_event_sta_scan_done_t,
    pub auth_change: system_event_sta_authmode_change_t,
    pub got_ip: system_event_sta_got_ip_t,
    pub sta_er_pin: system_event_sta_wps_er_pin_t,
    pub sta_er_fail_reason: system_event_sta_wps_fail_reason_t,
    pub sta_connected: system_event_ap_staconnected_t,
    pub sta_disconnected: system_event_ap_stadisconnected_t,
    pub ap_probereqrecved: system_event_ap_probe_req_rx_t,
    pub ap_staipassigned: system_event_ap_staipassigned_t,
    pub got_ip6: system_event_got_ip6_t,
    // some fields omitted
}

Union of all possible system_event argument structures

Fields

connected: system_event_sta_connected_t

< ESP32 station connected to AP

disconnected: system_event_sta_disconnected_t

< ESP32 station disconnected to AP

scan_done: system_event_sta_scan_done_t

< ESP32 station scan (APs) done

auth_change: system_event_sta_authmode_change_t

< the auth mode of AP ESP32 station connected to changed

got_ip: system_event_sta_got_ip_t

< ESP32 station got IP, first time got IP or when IP is changed

sta_er_pin: system_event_sta_wps_er_pin_t

< ESP32 station WPS enrollee mode PIN code received

sta_er_fail_reason: system_event_sta_wps_fail_reason_t

< ESP32 station WPS enrollee mode failed reason code received

sta_connected: system_event_ap_staconnected_t

< a station connected to ESP32 soft-AP

sta_disconnected: system_event_ap_stadisconnected_t

< a station disconnected to ESP32 soft-AP

ap_probereqrecved: system_event_ap_probe_req_rx_t

< ESP32 soft-AP receive probe request packet

ap_staipassigned: system_event_ap_staipassigned_t

< ESP32 soft-AP assign an IP to the station

got_ip6: system_event_got_ip6_t

< ESP32 station or ap or ethernet ipv6 addr state change to preferred

Trait Implementations

impl Clone for system_event_info_t[src]

impl Copy for system_event_info_t[src]

Auto Trait Implementations

impl !Send for system_event_info_t

impl !Sync for system_event_info_t

impl Unpin for system_event_info_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.