Enum Event
pub enum Event<'a> {
EnableStatus(Status),
DisableStatus(Status),
ApStation {
connected: bool,
mac: &'a MacAddress,
},
StationStatus(StationStatus),
StationRouterInfo(&'a StationRouter),
StationScanRouter(&'a [StationScanInfo]),
}👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
Expand description
WiFi event.
Variants§
EnableStatus(Status)
👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
DisableStatus(Status)
👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
ApStation
👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
Fields
§
mac: &'a MacAddress👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
StationStatus(StationStatus)
👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
StationRouterInfo(&'a StationRouter)
👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
StationScanRouter(&'a [StationScanInfo])
👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
Implementations§
§impl<'a> Event<'a>
impl<'a> Event<'a>
pub(crate) fn from_sys_ref(event: &'a Event) -> Result<Self>
👎Deprecated:
there is no replacement, use hostapd and wpa_supplicant directly
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Event<'a>
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnsafeUnpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
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