pub trait WifiProxyInterface: Send + Sync {
type StartResponseFut: Future<Output = Result<WifiStartResult, Error>> + Send;
type StopResponseFut: Future<Output = Result<WifiStopResult, Error>> + Send;
type GetStateResponseFut: Future<Output = Result<WifiGetStateResponse, Error>> + Send;
type GetChipIdsResponseFut: Future<Output = Result<WifiGetChipIdsResponse, Error>> + Send;
type GetChipResponseFut: Future<Output = Result<WifiGetChipResult, Error>> + Send;
// Required methods
fn register_event_callback(
&self,
payload: WifiRegisterEventCallbackRequest,
) -> Result<(), Error>;
fn start(&self) -> Self::StartResponseFut;
fn stop(&self) -> Self::StopResponseFut;
fn get_state(&self) -> Self::GetStateResponseFut;
fn get_chip_ids(&self) -> Self::GetChipIdsResponseFut;
fn get_chip(&self, payload: WifiGetChipRequest) -> Self::GetChipResponseFut;
}