fidl_fuchsia_wlan_device_serviceTrait DeviceMonitorProxyInterface
Source pub trait DeviceMonitorProxyInterface: Send + Sync {
Show 33 associated items
type ListPhysResponseFut: Future<Output = Result<Vec<u16>, Error>> + Send;
type ListIfacesResponseFut: Future<Output = Result<Vec<u16>, Error>> + Send;
type GetDevPathResponseFut: Future<Output = Result<Option<String>, Error>> + Send;
type GetSupportedMacRolesResponseFut: Future<Output = Result<DeviceMonitorGetSupportedMacRolesResult, Error>> + Send;
type GetCountryResponseFut: Future<Output = Result<DeviceMonitorGetCountryResult, Error>> + Send;
type SetCountryResponseFut: Future<Output = Result<i32, Error>> + Send;
type ClearCountryResponseFut: Future<Output = Result<i32, Error>> + Send;
type SetPowerSaveModeResponseFut: Future<Output = Result<i32, Error>> + Send;
type GetPowerSaveModeResponseFut: Future<Output = Result<DeviceMonitorGetPowerSaveModeResult, Error>> + Send;
type CreateIfaceResponseFut: Future<Output = Result<DeviceMonitorCreateIfaceResult, Error>> + Send;
type QueryIfaceResponseFut: Future<Output = Result<DeviceMonitorQueryIfaceResult, Error>> + Send;
type DestroyIfaceResponseFut: Future<Output = Result<i32, Error>> + Send;
type GetClientSmeResponseFut: Future<Output = Result<DeviceMonitorGetClientSmeResult, Error>> + Send;
type GetApSmeResponseFut: Future<Output = Result<DeviceMonitorGetApSmeResult, Error>> + Send;
type GetSmeTelemetryResponseFut: Future<Output = Result<DeviceMonitorGetSmeTelemetryResult, Error>> + Send;
type GetFeatureSupportResponseFut: Future<Output = Result<DeviceMonitorGetFeatureSupportResult, Error>> + Send;
// Required methods
fn list_phys(&self) -> Self::ListPhysResponseFut;
fn list_ifaces(&self) -> Self::ListIfacesResponseFut;
fn get_dev_path(&self, phy_id: u16) -> Self::GetDevPathResponseFut;
fn get_supported_mac_roles(
&self,
phy_id: u16,
) -> Self::GetSupportedMacRolesResponseFut;
fn watch_devices(
&self,
watcher: ServerEnd<DeviceWatcherMarker>,
) -> Result<(), Error>;
fn get_country(&self, phy_id: u16) -> Self::GetCountryResponseFut;
fn set_country(
&self,
req: &SetCountryRequest,
) -> Self::SetCountryResponseFut;
fn clear_country(
&self,
req: &ClearCountryRequest,
) -> Self::ClearCountryResponseFut;
fn set_power_save_mode(
&self,
req: &SetPowerSaveModeRequest,
) -> Self::SetPowerSaveModeResponseFut;
fn get_power_save_mode(
&self,
phy_id: u16,
) -> Self::GetPowerSaveModeResponseFut;
fn create_iface(
&self,
payload: &DeviceMonitorCreateIfaceRequest,
) -> Self::CreateIfaceResponseFut;
fn query_iface(&self, iface_id: u16) -> Self::QueryIfaceResponseFut;
fn destroy_iface(
&self,
req: &DestroyIfaceRequest,
) -> Self::DestroyIfaceResponseFut;
fn get_client_sme(
&self,
iface_id: u16,
sme_server: ServerEnd<ClientSmeMarker>,
) -> Self::GetClientSmeResponseFut;
fn get_ap_sme(
&self,
iface_id: u16,
sme_server: ServerEnd<ApSmeMarker>,
) -> Self::GetApSmeResponseFut;
fn get_sme_telemetry(
&self,
iface_id: u16,
telemetry_server: ServerEnd<TelemetryMarker>,
) -> Self::GetSmeTelemetryResponseFut;
fn get_feature_support(
&self,
iface_id: u16,
feature_support_server: ServerEnd<FeatureSupportMarker>,
) -> Self::GetFeatureSupportResponseFut;
}