Skip to main content

set_event_handler

Function set_event_handler 

pub fn set_event_handler(
    handler: impl Fn(Event<'_>) + Send + 'static,
) -> Result<()>
👎Deprecated:

there is no replacement, use hostapd and wpa_supplicant directly

Expand description

Sets the global handler for WiFi events.