fidl_fuchsia_wlan_device

Trait PhyProxyInterface

Source
pub trait PhyProxyInterface: Send + Sync {
    type GetSupportedMacRolesResponseFut: Future<Output = Result<PhyGetSupportedMacRolesResult, Error>> + Send;
    type CreateIfaceResponseFut: Future<Output = Result<PhyCreateIfaceResult, Error>> + Send;
    type DestroyIfaceResponseFut: Future<Output = Result<PhyDestroyIfaceResult, Error>> + Send;
    type SetCountryResponseFut: Future<Output = Result<i32, Error>> + Send;
    type GetCountryResponseFut: Future<Output = Result<PhyGetCountryResult, Error>> + Send;
    type ClearCountryResponseFut: Future<Output = Result<i32, Error>> + Send;
    type SetPowerSaveModeResponseFut: Future<Output = Result<i32, Error>> + Send;
    type GetPowerSaveModeResponseFut: Future<Output = Result<PhyGetPowerSaveModeResult, Error>> + Send;

    // Required methods
    fn get_supported_mac_roles(&self) -> Self::GetSupportedMacRolesResponseFut;
    fn create_iface(
        &self,
        req: CreateIfaceRequest,
    ) -> Self::CreateIfaceResponseFut;
    fn destroy_iface(
        &self,
        req: &DestroyIfaceRequest,
    ) -> Self::DestroyIfaceResponseFut;
    fn set_country(&self, req: &CountryCode) -> Self::SetCountryResponseFut;
    fn get_country(&self) -> Self::GetCountryResponseFut;
    fn clear_country(&self) -> Self::ClearCountryResponseFut;
    fn set_power_save_mode(
        &self,
        req: PowerSaveType,
    ) -> Self::SetPowerSaveModeResponseFut;
    fn get_power_save_mode(&self) -> Self::GetPowerSaveModeResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§