pub enum DeviceMonitorRequest {
Show 17 variants
ListPhys {
responder: DeviceMonitorListPhysResponder,
},
ListIfaces {
responder: DeviceMonitorListIfacesResponder,
},
GetDevPath {
phy_id: u16,
responder: DeviceMonitorGetDevPathResponder,
},
GetSupportedMacRoles {
phy_id: u16,
responder: DeviceMonitorGetSupportedMacRolesResponder,
},
WatchDevices {
watcher: ServerEnd<DeviceWatcherMarker>,
control_handle: DeviceMonitorControlHandle,
},
GetCountry {
phy_id: u16,
responder: DeviceMonitorGetCountryResponder,
},
SetCountry {
req: SetCountryRequest,
responder: DeviceMonitorSetCountryResponder,
},
ClearCountry {
req: ClearCountryRequest,
responder: DeviceMonitorClearCountryResponder,
},
SetPowerSaveMode {
req: SetPowerSaveModeRequest,
responder: DeviceMonitorSetPowerSaveModeResponder,
},
GetPowerSaveMode {
phy_id: u16,
responder: DeviceMonitorGetPowerSaveModeResponder,
},
CreateIface {
payload: DeviceMonitorCreateIfaceRequest,
responder: DeviceMonitorCreateIfaceResponder,
},
QueryIface {
iface_id: u16,
responder: DeviceMonitorQueryIfaceResponder,
},
DestroyIface {
req: DestroyIfaceRequest,
responder: DeviceMonitorDestroyIfaceResponder,
},
GetClientSme {
iface_id: u16,
sme_server: ServerEnd<ClientSmeMarker>,
responder: DeviceMonitorGetClientSmeResponder,
},
GetApSme {
iface_id: u16,
sme_server: ServerEnd<ApSmeMarker>,
responder: DeviceMonitorGetApSmeResponder,
},
GetSmeTelemetry {
iface_id: u16,
telemetry_server: ServerEnd<TelemetryMarker>,
responder: DeviceMonitorGetSmeTelemetryResponder,
},
GetFeatureSupport {
iface_id: u16,
feature_support_server: ServerEnd<FeatureSupportMarker>,
responder: DeviceMonitorGetFeatureSupportResponder,
},
}
Variants§
ListPhys
Fields
responder: DeviceMonitorListPhysResponder
ListIfaces
Fields
responder: DeviceMonitorListIfacesResponder
GetDevPath
GetSupportedMacRoles
WatchDevices
GetCountry
SetCountry
ClearCountry
SetPowerSaveMode
GetPowerSaveMode
CreateIface
QueryIface
DestroyIface
GetClientSme
Attempt to establish a new connection to a Client SME. Connections may be established for the whole lifetime of the SME, but concurrent connections might lead to unexpected behavior. Likely errors include: * NOT_FOUND: The given iface_id does not exist. * NOT_SUPPORTED: The underlying SME is not a Client SME. * PEER_CLOSED: The underlying SME is shutting down.
GetApSme
Attempt to establish a new connection to an AP SME. Connections may be established for the whole lifetime of the SME, but concurrent connections might lead to unexpected behavior. Likely errors include: * NOT_FOUND: The given iface_id does not exist. * NOT_SUPPORTED: The underlying SME is not a Client SME. * PEER_CLOSED: The underlying SME is shutting down.
GetSmeTelemetry
Attempt to establish a new connection to telemetry for an SME. Connections may be established for the whole lifetime of the SME, and concurrent connections are safe since this is a read-only API. Likely errors include: * NOT_FOUND: The given iface_id does not exist. * NOT_SUPPORTED: The underlying SME is not a Client SME. * PEER_CLOSED: The underlying SME is shutting down.
Fields
telemetry_server: ServerEnd<TelemetryMarker>
responder: DeviceMonitorGetSmeTelemetryResponder
GetFeatureSupport
Attempt to establish a new connection to feature queries for an SME. Connections may be established for the whole lifetime of the SME, and concurrent connections are safe since this is a read-only API. Likely errors include: * NOT_FOUND: The given iface_id does not exist. * PEER_CLOSED: The underlying SME is shutting down.
Fields
feature_support_server: ServerEnd<FeatureSupportMarker>
responder: DeviceMonitorGetFeatureSupportResponder
Implementations§
Source§impl DeviceMonitorRequest
impl DeviceMonitorRequest
pub fn into_list_phys(self) -> Option<DeviceMonitorListPhysResponder>
pub fn into_list_ifaces(self) -> Option<DeviceMonitorListIfacesResponder>
pub fn into_get_dev_path( self, ) -> Option<(u16, DeviceMonitorGetDevPathResponder)>
pub fn into_get_supported_mac_roles( self, ) -> Option<(u16, DeviceMonitorGetSupportedMacRolesResponder)>
pub fn into_watch_devices( self, ) -> Option<(ServerEnd<DeviceWatcherMarker>, DeviceMonitorControlHandle)>
pub fn into_get_country(self) -> Option<(u16, DeviceMonitorGetCountryResponder)>
pub fn into_set_country( self, ) -> Option<(SetCountryRequest, DeviceMonitorSetCountryResponder)>
pub fn into_clear_country( self, ) -> Option<(ClearCountryRequest, DeviceMonitorClearCountryResponder)>
pub fn into_set_power_save_mode( self, ) -> Option<(SetPowerSaveModeRequest, DeviceMonitorSetPowerSaveModeResponder)>
pub fn into_get_power_save_mode( self, ) -> Option<(u16, DeviceMonitorGetPowerSaveModeResponder)>
pub fn into_create_iface( self, ) -> Option<(DeviceMonitorCreateIfaceRequest, DeviceMonitorCreateIfaceResponder)>
pub fn into_query_iface(self) -> Option<(u16, DeviceMonitorQueryIfaceResponder)>
pub fn into_destroy_iface( self, ) -> Option<(DestroyIfaceRequest, DeviceMonitorDestroyIfaceResponder)>
pub fn into_get_client_sme( self, ) -> Option<(u16, ServerEnd<ClientSmeMarker>, DeviceMonitorGetClientSmeResponder)>
pub fn into_get_ap_sme( self, ) -> Option<(u16, ServerEnd<ApSmeMarker>, DeviceMonitorGetApSmeResponder)>
pub fn into_get_sme_telemetry( self, ) -> Option<(u16, ServerEnd<TelemetryMarker>, DeviceMonitorGetSmeTelemetryResponder)>
pub fn into_get_feature_support( self, ) -> Option<(u16, ServerEnd<FeatureSupportMarker>, DeviceMonitorGetFeatureSupportResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL