Payload

Enum Payload 

Source
pub enum Payload {
Show 118 variants ReqGetMacAddress(Rpc_Req_GetMacAddress), ReqSetMacAddress(Rpc_Req_SetMacAddress), ReqGetWifiMode(Rpc_Req_GetMode), ReqSetWifiMode(Rpc_Req_SetMode), ReqWifiSetPs(Rpc_Req_SetPs), ReqWifiGetPs(Rpc_Req_GetPs), ReqOtaBegin(Rpc_Req_OTABegin), ReqOtaWrite(Rpc_Req_OTAWrite), ReqOtaEnd(Rpc_Req_OTAEnd), ReqSetWifiMaxTxPower(Rpc_Req_WifiSetMaxTxPower), ReqGetWifiMaxTxPower(Rpc_Req_WifiGetMaxTxPower), ReqConfigHeartbeat(Rpc_Req_ConfigHeartbeat), ReqWifiInit(Rpc_Req_WifiInit), ReqWifiDeinit(Rpc_Req_WifiDeinit), ReqWifiStart(Rpc_Req_WifiStart), ReqWifiStop(Rpc_Req_WifiStop), ReqWifiConnect(Rpc_Req_WifiConnect), ReqWifiDisconnect(Rpc_Req_WifiDisconnect), ReqWifiSetConfig(Rpc_Req_WifiSetConfig), ReqWifiGetConfig(Rpc_Req_WifiGetConfig), ReqWifiScanStart(Rpc_Req_WifiScanStart), ReqWifiScanStop(Rpc_Req_WifiScanStop), ReqWifiScanGetApNum(Rpc_Req_WifiScanGetApNum), ReqWifiScanGetApRecords(Rpc_Req_WifiScanGetApRecords), ReqWifiClearApList(Rpc_Req_WifiClearApList), ReqWifiRestore(Rpc_Req_WifiRestore), ReqWifiClearFastConnect(Rpc_Req_WifiClearFastConnect), ReqWifiDeauthSta(Rpc_Req_WifiDeauthSta), ReqWifiStaGetApInfo(Rpc_Req_WifiStaGetApInfo), ReqWifiSetProtocol(Rpc_Req_WifiSetProtocol), ReqWifiGetProtocol(Rpc_Req_WifiGetProtocol), ReqWifiSetBandwidth(Rpc_Req_WifiSetBandwidth), ReqWifiGetBandwidth(Rpc_Req_WifiGetBandwidth), ReqWifiSetChannel(Rpc_Req_WifiSetChannel), ReqWifiGetChannel(Rpc_Req_WifiGetChannel), ReqWifiSetCountry(Rpc_Req_WifiSetCountry), ReqWifiGetCountry(Rpc_Req_WifiGetCountry), ReqWifiApGetStaList(Rpc_Req_WifiApGetStaList), ReqWifiApGetStaAid(Rpc_Req_WifiApGetStaAid), ReqWifiSetStorage(Rpc_Req_WifiSetStorage), ReqWifiSetCountryCode(Rpc_Req_WifiSetCountryCode), ReqWifiGetCountryCode(Rpc_Req_WifiGetCountryCode), ReqWifiStaGetAid(Rpc_Req_WifiStaGetAid), ReqWifiStaGetNegotiatedPhymode(Rpc_Req_WifiStaGetNegotiatedPhymode), ReqWifiStaGetRssi(Rpc_Req_WifiStaGetRssi), ReqWifiSetProtocols(Rpc_Req_WifiSetProtocols), ReqWifiGetProtocols(Rpc_Req_WifiGetProtocols), ReqWifiSetBandwidths(Rpc_Req_WifiSetBandwidths), ReqWifiGetBandwidths(Rpc_Req_WifiGetBandwidths), ReqWifiSetBand(Rpc_Req_WifiSetBand), ReqWifiGetBand(Rpc_Req_WifiGetBand), ReqWifiSetBandmode(Rpc_Req_WifiSetBandMode), ReqWifiGetBandmode(Rpc_Req_WifiGetBandMode), ReqGetCoprocessorFwversion(Rpc_Req_GetCoprocessorFwVersion), ReqWifiScanGetApRecord(Rpc_Req_WifiScanGetApRecord), RespGetMacAddress(Rpc_Resp_GetMacAddress), RespSetMacAddress(Rpc_Resp_SetMacAddress), RespGetWifiMode(Rpc_Resp_GetMode), RespSetWifiMode(Rpc_Resp_SetMode), RespWifiSetPs(Rpc_Resp_SetPs), RespWifiGetPs(Rpc_Resp_GetPs), RespOtaBegin(Rpc_Resp_OTABegin), RespOtaWrite(Rpc_Resp_OTAWrite), RespOtaEnd(Rpc_Resp_OTAEnd), RespSetWifiMaxTxPower(Rpc_Resp_WifiSetMaxTxPower), RespGetWifiMaxTxPower(Rpc_Resp_WifiGetMaxTxPower), RespConfigHeartbeat(Rpc_Resp_ConfigHeartbeat), RespWifiInit(Rpc_Resp_WifiInit), RespWifiDeinit(Rpc_Resp_WifiDeinit), RespWifiStart(Rpc_Resp_WifiStart), RespWifiStop(Rpc_Resp_WifiStop), RespWifiConnect(Rpc_Resp_WifiConnect), RespWifiDisconnect(Rpc_Resp_WifiDisconnect), RespWifiSetConfig(Rpc_Resp_WifiSetConfig), RespWifiGetConfig(Rpc_Resp_WifiGetConfig), RespWifiScanStart(Rpc_Resp_WifiScanStart), RespWifiScanStop(Rpc_Resp_WifiScanStop), RespWifiScanGetApNum(Rpc_Resp_WifiScanGetApNum), RespWifiScanGetApRecords(Rpc_Resp_WifiScanGetApRecords), RespWifiClearApList(Rpc_Resp_WifiClearApList), RespWifiRestore(Rpc_Resp_WifiRestore), RespWifiClearFastConnect(Rpc_Resp_WifiClearFastConnect), RespWifiDeauthSta(Rpc_Resp_WifiDeauthSta), RespWifiStaGetApInfo(Rpc_Resp_WifiStaGetApInfo), RespWifiSetProtocol(Rpc_Resp_WifiSetProtocol), RespWifiGetProtocol(Rpc_Resp_WifiGetProtocol), RespWifiSetBandwidth(Rpc_Resp_WifiSetBandwidth), RespWifiGetBandwidth(Rpc_Resp_WifiGetBandwidth), RespWifiSetChannel(Rpc_Resp_WifiSetChannel), RespWifiGetChannel(Rpc_Resp_WifiGetChannel), RespWifiSetCountry(Rpc_Resp_WifiSetCountry), RespWifiGetCountry(Rpc_Resp_WifiGetCountry), RespWifiApGetStaList(Rpc_Resp_WifiApGetStaList), RespWifiApGetStaAid(Rpc_Resp_WifiApGetStaAid), RespWifiSetStorage(Rpc_Resp_WifiSetStorage), RespWifiSetCountryCode(Rpc_Resp_WifiSetCountryCode), RespWifiGetCountryCode(Rpc_Resp_WifiGetCountryCode), RespWifiStaGetAid(Rpc_Resp_WifiStaGetAid), RespWifiStaGetNegotiatedPhymode(Rpc_Resp_WifiStaGetNegotiatedPhymode), RespWifiStaGetRssi(Rpc_Resp_WifiStaGetRssi), RespWifiSetProtocols(Rpc_Resp_WifiSetProtocols), RespWifiGetProtocols(Rpc_Resp_WifiGetProtocols), RespWifiSetBandwidths(Rpc_Resp_WifiSetBandwidths), RespWifiGetBandwidths(Rpc_Resp_WifiGetBandwidths), RespWifiSetBand(Rpc_Resp_WifiSetBand), RespWifiGetBand(Rpc_Resp_WifiGetBand), RespWifiSetBandmode(Rpc_Resp_WifiSetBandMode), RespWifiGetBandmode(Rpc_Resp_WifiGetBandMode), RespGetCoprocessorFwversion(Rpc_Resp_GetCoprocessorFwVersion), RespWifiScanGetApRecord(Rpc_Resp_WifiScanGetApRecord), EventEspInit(Rpc_Event_ESPInit), EventHeartbeat(Rpc_Event_Heartbeat), EventApStaConnected(Rpc_Event_AP_StaConnected), EventApStaDisconnected(Rpc_Event_AP_StaDisconnected), EventWifiEventNoArgs(Rpc_Event_WifiEventNoArgs), EventStaScanDone(Rpc_Event_StaScanDone), EventStaConnected(Rpc_Event_StaConnected), EventStaDisconnected(Rpc_Event_StaDisconnected),
}

Variants§

§

ReqGetMacAddress(Rpc_Req_GetMacAddress)

§

ReqSetMacAddress(Rpc_Req_SetMacAddress)

§

ReqGetWifiMode(Rpc_Req_GetMode)

§

ReqSetWifiMode(Rpc_Req_SetMode)

§

ReqWifiSetPs(Rpc_Req_SetPs)

§

ReqWifiGetPs(Rpc_Req_GetPs)

§

ReqOtaBegin(Rpc_Req_OTABegin)

§

ReqOtaWrite(Rpc_Req_OTAWrite)

§

ReqOtaEnd(Rpc_Req_OTAEnd)

§

ReqSetWifiMaxTxPower(Rpc_Req_WifiSetMaxTxPower)

§

ReqGetWifiMaxTxPower(Rpc_Req_WifiGetMaxTxPower)

§

ReqConfigHeartbeat(Rpc_Req_ConfigHeartbeat)

§

ReqWifiInit(Rpc_Req_WifiInit)

§

ReqWifiDeinit(Rpc_Req_WifiDeinit)

§

ReqWifiStart(Rpc_Req_WifiStart)

§

ReqWifiStop(Rpc_Req_WifiStop)

§

ReqWifiConnect(Rpc_Req_WifiConnect)

§

ReqWifiDisconnect(Rpc_Req_WifiDisconnect)

§

ReqWifiSetConfig(Rpc_Req_WifiSetConfig)

§

ReqWifiGetConfig(Rpc_Req_WifiGetConfig)

§

ReqWifiScanStart(Rpc_Req_WifiScanStart)

§

ReqWifiScanStop(Rpc_Req_WifiScanStop)

§

ReqWifiScanGetApNum(Rpc_Req_WifiScanGetApNum)

§

ReqWifiScanGetApRecords(Rpc_Req_WifiScanGetApRecords)

§

ReqWifiClearApList(Rpc_Req_WifiClearApList)

§

ReqWifiRestore(Rpc_Req_WifiRestore)

§

ReqWifiClearFastConnect(Rpc_Req_WifiClearFastConnect)

§

ReqWifiDeauthSta(Rpc_Req_WifiDeauthSta)

§

ReqWifiStaGetApInfo(Rpc_Req_WifiStaGetApInfo)

§

ReqWifiSetProtocol(Rpc_Req_WifiSetProtocol)

§

ReqWifiGetProtocol(Rpc_Req_WifiGetProtocol)

§

ReqWifiSetBandwidth(Rpc_Req_WifiSetBandwidth)

§

ReqWifiGetBandwidth(Rpc_Req_WifiGetBandwidth)

§

ReqWifiSetChannel(Rpc_Req_WifiSetChannel)

§

ReqWifiGetChannel(Rpc_Req_WifiGetChannel)

§

ReqWifiSetCountry(Rpc_Req_WifiSetCountry)

§

ReqWifiGetCountry(Rpc_Req_WifiGetCountry)

§

ReqWifiApGetStaList(Rpc_Req_WifiApGetStaList)

§

ReqWifiApGetStaAid(Rpc_Req_WifiApGetStaAid)

§

ReqWifiSetStorage(Rpc_Req_WifiSetStorage)

§

ReqWifiSetCountryCode(Rpc_Req_WifiSetCountryCode)

§

ReqWifiGetCountryCode(Rpc_Req_WifiGetCountryCode)

§

ReqWifiStaGetAid(Rpc_Req_WifiStaGetAid)

§

ReqWifiStaGetNegotiatedPhymode(Rpc_Req_WifiStaGetNegotiatedPhymode)

§

ReqWifiStaGetRssi(Rpc_Req_WifiStaGetRssi)

§

ReqWifiSetProtocols(Rpc_Req_WifiSetProtocols)

§

ReqWifiGetProtocols(Rpc_Req_WifiGetProtocols)

§

ReqWifiSetBandwidths(Rpc_Req_WifiSetBandwidths)

§

ReqWifiGetBandwidths(Rpc_Req_WifiGetBandwidths)

§

ReqWifiSetBand(Rpc_Req_WifiSetBand)

§

ReqWifiGetBand(Rpc_Req_WifiGetBand)

§

ReqWifiSetBandmode(Rpc_Req_WifiSetBandMode)

§

ReqWifiGetBandmode(Rpc_Req_WifiGetBandMode)

§

ReqGetCoprocessorFwversion(Rpc_Req_GetCoprocessorFwVersion)

§

ReqWifiScanGetApRecord(Rpc_Req_WifiScanGetApRecord)

§

RespGetMacAddress(Rpc_Resp_GetMacAddress)

§

RespSetMacAddress(Rpc_Resp_SetMacAddress)

§

RespGetWifiMode(Rpc_Resp_GetMode)

§

RespSetWifiMode(Rpc_Resp_SetMode)

§

RespWifiSetPs(Rpc_Resp_SetPs)

§

RespWifiGetPs(Rpc_Resp_GetPs)

§

RespOtaBegin(Rpc_Resp_OTABegin)

§

RespOtaWrite(Rpc_Resp_OTAWrite)

§

RespOtaEnd(Rpc_Resp_OTAEnd)

§

RespSetWifiMaxTxPower(Rpc_Resp_WifiSetMaxTxPower)

§

RespGetWifiMaxTxPower(Rpc_Resp_WifiGetMaxTxPower)

§

RespConfigHeartbeat(Rpc_Resp_ConfigHeartbeat)

§

RespWifiInit(Rpc_Resp_WifiInit)

§

RespWifiDeinit(Rpc_Resp_WifiDeinit)

§

RespWifiStart(Rpc_Resp_WifiStart)

§

RespWifiStop(Rpc_Resp_WifiStop)

§

RespWifiConnect(Rpc_Resp_WifiConnect)

§

RespWifiDisconnect(Rpc_Resp_WifiDisconnect)

§

RespWifiSetConfig(Rpc_Resp_WifiSetConfig)

§

RespWifiGetConfig(Rpc_Resp_WifiGetConfig)

§

RespWifiScanStart(Rpc_Resp_WifiScanStart)

§

RespWifiScanStop(Rpc_Resp_WifiScanStop)

§

RespWifiScanGetApNum(Rpc_Resp_WifiScanGetApNum)

§

RespWifiScanGetApRecords(Rpc_Resp_WifiScanGetApRecords)

§

RespWifiClearApList(Rpc_Resp_WifiClearApList)

§

RespWifiRestore(Rpc_Resp_WifiRestore)

§

RespWifiClearFastConnect(Rpc_Resp_WifiClearFastConnect)

§

RespWifiDeauthSta(Rpc_Resp_WifiDeauthSta)

§

RespWifiStaGetApInfo(Rpc_Resp_WifiStaGetApInfo)

§

RespWifiSetProtocol(Rpc_Resp_WifiSetProtocol)

§

RespWifiGetProtocol(Rpc_Resp_WifiGetProtocol)

§

RespWifiSetBandwidth(Rpc_Resp_WifiSetBandwidth)

§

RespWifiGetBandwidth(Rpc_Resp_WifiGetBandwidth)

§

RespWifiSetChannel(Rpc_Resp_WifiSetChannel)

§

RespWifiGetChannel(Rpc_Resp_WifiGetChannel)

§

RespWifiSetCountry(Rpc_Resp_WifiSetCountry)

§

RespWifiGetCountry(Rpc_Resp_WifiGetCountry)

§

RespWifiApGetStaList(Rpc_Resp_WifiApGetStaList)

§

RespWifiApGetStaAid(Rpc_Resp_WifiApGetStaAid)

§

RespWifiSetStorage(Rpc_Resp_WifiSetStorage)

§

RespWifiSetCountryCode(Rpc_Resp_WifiSetCountryCode)

§

RespWifiGetCountryCode(Rpc_Resp_WifiGetCountryCode)

§

RespWifiStaGetAid(Rpc_Resp_WifiStaGetAid)

§

RespWifiStaGetNegotiatedPhymode(Rpc_Resp_WifiStaGetNegotiatedPhymode)

§

RespWifiStaGetRssi(Rpc_Resp_WifiStaGetRssi)

§

RespWifiSetProtocols(Rpc_Resp_WifiSetProtocols)

§

RespWifiGetProtocols(Rpc_Resp_WifiGetProtocols)

§

RespWifiSetBandwidths(Rpc_Resp_WifiSetBandwidths)

§

RespWifiGetBandwidths(Rpc_Resp_WifiGetBandwidths)

§

RespWifiSetBand(Rpc_Resp_WifiSetBand)

§

RespWifiGetBand(Rpc_Resp_WifiGetBand)

§

RespWifiSetBandmode(Rpc_Resp_WifiSetBandMode)

§

RespWifiGetBandmode(Rpc_Resp_WifiGetBandMode)

§

RespGetCoprocessorFwversion(Rpc_Resp_GetCoprocessorFwVersion)

§

RespWifiScanGetApRecord(Rpc_Resp_WifiScanGetApRecord)

§

EventEspInit(Rpc_Event_ESPInit)

§

EventHeartbeat(Rpc_Event_Heartbeat)

§

EventApStaConnected(Rpc_Event_AP_StaConnected)

§

EventApStaDisconnected(Rpc_Event_AP_StaDisconnected)

§

EventWifiEventNoArgs(Rpc_Event_WifiEventNoArgs)

§

EventStaScanDone(Rpc_Event_StaScanDone)

§

EventStaConnected(Rpc_Event_StaConnected)

§

EventStaDisconnected(Rpc_Event_StaDisconnected)

Trait Implementations§

Source§

impl Clone for Payload

Source§

fn clone(&self) -> Payload

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Payload

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Payload

Source§

fn eq(&self, other: &Payload) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Payload

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.