fidl_fuchsia_wlan_wlanix

Trait SupplicantStaIfaceProxyInterface

Source
pub trait SupplicantStaIfaceProxyInterface: Send + Sync {
    type DisconnectResponseFut: Future<Output = Result<(), Error>> + Send;
    type SetPowerSaveResponseFut: Future<Output = Result<(), Error>> + Send;
    type SetSuspendModeEnabledResponseFut: Future<Output = Result<(), Error>> + Send;
    type SetStaCountryCodeResponseFut: Future<Output = Result<SupplicantStaIfaceSetStaCountryCodeResult, Error>> + Send;

    // Required methods
    fn register_callback(
        &self,
        payload: SupplicantStaIfaceRegisterCallbackRequest,
    ) -> Result<(), Error>;
    fn add_network(
        &self,
        payload: SupplicantStaIfaceAddNetworkRequest,
    ) -> Result<(), Error>;
    fn disconnect(&self) -> Self::DisconnectResponseFut;
    fn set_power_save(
        &self,
        payload: SupplicantStaIfaceSetPowerSaveRequest,
    ) -> Self::SetPowerSaveResponseFut;
    fn set_suspend_mode_enabled(
        &self,
        payload: SupplicantStaIfaceSetSuspendModeEnabledRequest,
    ) -> Self::SetSuspendModeEnabledResponseFut;
    fn set_sta_country_code(
        &self,
        payload: SupplicantStaIfaceSetStaCountryCodeRequest,
    ) -> Self::SetStaCountryCodeResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§