fidl_fuchsia_wlan_wlanix

Trait WifiChipProxyInterface

Source
pub trait WifiChipProxyInterface: Send + Sync {
    type CreateStaIfaceResponseFut: Future<Output = Result<WifiChipCreateStaIfaceResult, Error>> + Send;
    type GetStaIfaceNamesResponseFut: Future<Output = Result<WifiChipGetStaIfaceNamesResponse, Error>> + Send;
    type GetStaIfaceResponseFut: Future<Output = Result<WifiChipGetStaIfaceResult, Error>> + Send;
    type RemoveStaIfaceResponseFut: Future<Output = Result<WifiChipRemoveStaIfaceResult, Error>> + Send;
    type SetCountryCodeResponseFut: Future<Output = Result<WifiChipSetCountryCodeResult, Error>> + Send;
    type GetAvailableModesResponseFut: Future<Output = Result<WifiChipGetAvailableModesResponse, Error>> + Send;
    type GetIdResponseFut: Future<Output = Result<WifiChipGetIdResponse, Error>> + Send;
    type GetModeResponseFut: Future<Output = Result<WifiChipGetModeResponse, Error>> + Send;
    type GetCapabilitiesResponseFut: Future<Output = Result<WifiChipGetCapabilitiesResponse, Error>> + Send;

    // Required methods
    fn create_sta_iface(
        &self,
        payload: WifiChipCreateStaIfaceRequest,
    ) -> Self::CreateStaIfaceResponseFut;
    fn get_sta_iface_names(&self) -> Self::GetStaIfaceNamesResponseFut;
    fn get_sta_iface(
        &self,
        payload: WifiChipGetStaIfaceRequest,
    ) -> Self::GetStaIfaceResponseFut;
    fn remove_sta_iface(
        &self,
        payload: WifiChipRemoveStaIfaceRequest,
    ) -> Self::RemoveStaIfaceResponseFut;
    fn set_country_code(
        &self,
        payload: WifiChipSetCountryCodeRequest,
    ) -> Self::SetCountryCodeResponseFut;
    fn get_available_modes(&self) -> Self::GetAvailableModesResponseFut;
    fn get_id(&self) -> Self::GetIdResponseFut;
    fn get_mode(&self) -> Self::GetModeResponseFut;
    fn get_capabilities(&self) -> Self::GetCapabilitiesResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§