pub enum WifiEvent<'a> {
Show 30 variants
Ready,
ScanDone(&'a StaScanDoneRef),
StaStarted,
StaStopped,
StaConnected(&'a StaConnectedRef),
StaDisconnected(&'a StaDisconnectedRef),
StaAuthmodeChanged,
StaBssRssiLow,
StaBeaconTimeout,
StaWpsSuccess(&'a [WpsCredentialsRef]),
StaWpsFailed,
StaWpsTimeout,
StaWpsPin(Option<u32>),
StaWpsPbcOverlap,
ApStarted,
ApStopped,
ApStaConnected(&'a ApStaConnectedRef),
ApStaDisconnected(&'a ApStaDisconnectedRef),
ApProbeRequestReceived,
FtmReport,
ActionTxStatus,
RocDone,
HomeChannelChange(HomeChannelChange),
StaNeighborRep(&'a StaNeighborRepRef),
ApWrongPassword(&'a ApWrongPasswordRef),
StaBeaconOffsetUnstable(&'a StaBeaconOffsetUnstableRef),
DppUriReady(&'a DppUriReadyRef),
DppCfgRecvd(&'a DppCfgRecvdRef),
DppFailed(&'a DppFailedRef),
Other(i32),
}Variants§
Ready
ScanDone(&'a StaScanDoneRef)
StaStarted
StaStopped
StaConnected(&'a StaConnectedRef)
StaDisconnected(&'a StaDisconnectedRef)
StaAuthmodeChanged
StaBssRssiLow
StaBeaconTimeout
StaWpsSuccess(&'a [WpsCredentialsRef])
StaWpsFailed
StaWpsTimeout
StaWpsPin(Option<u32>)
StaWpsPbcOverlap
ApStarted
ApStopped
ApStaConnected(&'a ApStaConnectedRef)
ApStaDisconnected(&'a ApStaDisconnectedRef)
ApProbeRequestReceived
FtmReport
ActionTxStatus
RocDone
HomeChannelChange(HomeChannelChange)
StaNeighborRep(&'a StaNeighborRepRef)
Neighbor report received from the AP in response to a neighbor report request from the station.
ApWrongPassword(&'a ApWrongPasswordRef)
A station attempted to connect to the soft-AP with the wrong password.
StaBeaconOffsetUnstable(&'a StaBeaconOffsetUnstableRef)
The station’s beacon offset has become unstable.
DppUriReady(&'a DppUriReadyRef)
A DPP bootstrapping URI is ready to be scanned by the peer.
DppCfgRecvd(&'a DppCfgRecvdRef)
DPP authentication succeeded and a WiFi configuration was received.
DppFailed(&'a DppFailedRef)
DPP authentication or configuration exchange failed.
Other(i32)
An event ID not recognised by this version of the library was received.
This variant is produced instead of panicking when an unknown event ID arrives, allowing applications to remain forward-compatible with ESP-IDF versions that introduce new WiFi events.
Trait Implementations§
impl<'a> Copy for WifiEvent<'a>
Source§impl EspEventDeserializer for WifiEvent<'_>
impl EspEventDeserializer for WifiEvent<'_>
Source§impl EspEventSource for WifiEvent<'_>
impl EspEventSource for WifiEvent<'_>
Auto Trait Implementations§
impl<'a> Freeze for WifiEvent<'a>
impl<'a> RefUnwindSafe for WifiEvent<'a>
impl<'a> Send for WifiEvent<'a>
impl<'a> Sync for WifiEvent<'a>
impl<'a> Unpin for WifiEvent<'a>
impl<'a> UnsafeUnpin for WifiEvent<'a>
impl<'a> UnwindSafe for WifiEvent<'a>
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,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)