#[repr(i32)]pub enum WifiEvent {
Show 45 variants
WifiReady = 0,
ScanDone = 1,
StaStart = 2,
StaStop = 3,
StaConnected = 4,
StaDisconnected = 5,
StaAuthmodeChange = 6,
StaWpsErSuccess = 7,
StaWpsErFailed = 8,
StaWpsErTimeout = 9,
StaWpsErPin = 10,
StaWpsErPbcOverlap = 11,
ApStart = 12,
ApStop = 13,
ApStaconnected = 14,
ApStadisconnected = 15,
ApProbereqrecved = 16,
FtmReport = 17,
StaBssRssiLow = 18,
ActionTxStatus = 19,
RocDone = 20,
StaBeaconTimeout = 21,
ConnectionlessModuleWakeIntervalStart = 22,
ApWpsRgSuccess = 23,
ApWpsRgFailed = 24,
ApWpsRgTimeout = 25,
ApWpsRgPin = 26,
ApWpsRgPbcOverlap = 27,
ItwtSetup = 28,
ItwtTeardown = 29,
ItwtProbe = 30,
ItwtSuspend = 31,
TwtWakeup = 32,
BtwtSetup = 33,
BtwtTeardown = 34,
NanStarted = 35,
NanStopped = 36,
NanSvcMatch = 37,
NanReplied = 38,
NanReceive = 39,
NdpIndication = 40,
NdpConfirm = 41,
NdpTerminated = 42,
HomeChannelChange = 43,
StaNeighborRep = 44,
}
Expand description
Events generated by the WiFi driver.
Variants§
WifiReady = 0
Wi-Fi is ready for operation.
ScanDone = 1
Scan operation has completed.
StaStart = 2
Station mode started.
StaStop = 3
Station mode stopped.
StaConnected = 4
Station connected to a network.
StaDisconnected = 5
Station disconnected from a network.
StaAuthmodeChange = 6
Station authentication mode changed.
StaWpsErSuccess = 7
Station WPS succeeds in enrollee mode.
StaWpsErFailed = 8
Station WPS fails in enrollee mode.
StaWpsErTimeout = 9
Station WPS timeout in enrollee mode.
StaWpsErPin = 10
Station WPS pin code in enrollee mode.
StaWpsErPbcOverlap = 11
Station WPS overlap in enrollee mode.
ApStart = 12
Soft-AP start.
ApStop = 13
Soft-AP stop.
ApStaconnected = 14
A station connected to Soft-AP.
ApStadisconnected = 15
A station disconnected from Soft-AP.
ApProbereqrecved = 16
Received probe request packet in Soft-AP interface.
FtmReport = 17
Received report of FTM procedure.
StaBssRssiLow = 18
AP’s RSSI crossed configured threshold.
ActionTxStatus = 19
Status indication of Action Tx operation.
RocDone = 20
Remain-on-Channel operation complete.
StaBeaconTimeout = 21
Station beacon timeout.
ConnectionlessModuleWakeIntervalStart = 22
Connectionless module wake interval has started.
ApWpsRgSuccess = 23
Soft-AP WPS succeeded in registrar mode.
ApWpsRgFailed = 24
Soft-AP WPS failed in registrar mode.
ApWpsRgTimeout = 25
Soft-AP WPS timed out in registrar mode.
ApWpsRgPin = 26
Soft-AP WPS pin code in registrar mode.
ApWpsRgPbcOverlap = 27
Soft-AP WPS overlap in registrar mode.
ItwtSetup = 28
iTWT setup.
ItwtTeardown = 29
iTWT teardown.
ItwtProbe = 30
iTWT probe.
ItwtSuspend = 31
iTWT suspended.
TwtWakeup = 32
TWT wakeup event.
BtwtSetup = 33
bTWT setup.
BtwtTeardown = 34
bTWT teardown.
NanStarted = 35
NAN (Neighbor Awareness Networking) discovery has started.
NanStopped = 36
NAN discovery has stopped.
NanSvcMatch = 37
NAN service discovery match found.
NanReplied = 38
Replied to a NAN peer with service discovery match.
NanReceive = 39
Received a follow-up message in NAN.
NdpIndication = 40
Received NDP (Neighbor Discovery Protocol) request from a NAN peer.
NdpConfirm = 41
NDP confirm indication.
NdpTerminated = 42
NAN datapath terminated indication.
HomeChannelChange = 43
Wi-Fi home channel change, doesn’t occur when scanning.
StaNeighborRep = 44
Received Neighbor Report response.
Trait Implementations§
source§impl EnumSetTypePrivate for WifiEvent
impl EnumSetTypePrivate for WifiEvent
source§type ConstHelper = __EnumSetConstHelper
type ConstHelper = __EnumSetConstHelper
enum_set!
macro among other things.source§const CONST_HELPER_INSTANCE: __EnumSetConstHelper = __EnumSetConstHelper
const CONST_HELPER_INSTANCE: __EnumSetConstHelper = __EnumSetConstHelper
ConstHelper
.source§const ALL_BITS: Self::Repr = {transmute(0x00001fffffffffff): <wifi::WifiEvent as enumset::__internal::EnumSetTypePrivate>::Repr}
const ALL_BITS: Self::Repr = {transmute(0x00001fffffffffff): <wifi::WifiEvent as enumset::__internal::EnumSetTypePrivate>::Repr}
source§const VARIANT_COUNT: u32 = 45u32
const VARIANT_COUNT: u32 = 45u32
source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
source§impl FromPrimitive for WifiEvent
impl FromPrimitive for WifiEvent
source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moreimpl Copy for WifiEvent
impl EnumSetType for WifiEvent
impl Eq for WifiEvent
Auto Trait Implementations§
impl Freeze for WifiEvent
impl RefUnwindSafe for WifiEvent
impl Send for WifiEvent
impl Sync for WifiEvent
impl Unpin for WifiEvent
impl UnwindSafe for WifiEvent
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)