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;
    type PowerDownResponseFut: Future<Output = Result<PhyPowerDownResult, Error>> + Send;
    type PowerUpResponseFut: Future<Output = Result<PhyPowerUpResult, Error>> + Send;
    type ResetResponseFut: Future<Output = Result<PhyResetResult, Error>> + Send;
    type GetPowerStateResponseFut: Future<Output = Result<PhyGetPowerStateResult, 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;
    fn power_down(&self) -> Self::PowerDownResponseFut;
    fn power_up(&self) -> Self::PowerUpResponseFut;
    fn reset(&self) -> Self::ResetResponseFut;
    fn get_power_state(&self) -> Self::GetPowerStateResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§