pub struct WlanSoftmacIfcBaseProxy { /* private fields */ }Implementations§
Source§impl WlanSoftmacIfcBaseProxy
impl WlanSoftmacIfcBaseProxy
Sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.wlan.softmac/WlanSoftmacIfcBase.
Sourcepub fn take_event_stream(&self) -> WlanSoftmacIfcBaseEventStream
pub fn take_event_stream(&self) -> WlanSoftmacIfcBaseEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
Sourcepub fn report_tx_result(
&self,
tx_result: &WlanTxResult,
) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect> ⓘ
pub fn report_tx_result( &self, tx_result: &WlanTxResult, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect> ⓘ
Reports the result of an attempted transmission.
A device driver indicates support for ReportTxResult() using
fuchsia.wlan.common/DeviceExtension.report_tx_result_supported.
Sourcepub fn notify_scan_complete(
&self,
payload: &WlanSoftmacIfcBaseNotifyScanCompleteRequest,
) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect> ⓘ
pub fn notify_scan_complete( &self, payload: &WlanSoftmacIfcBaseNotifyScanCompleteRequest, ) -> QueryResponseFut<(), DefaultFuchsiaResourceDialect> ⓘ
Reports completion of a scan associated with the unique scan_id. status
indicates whether the scan completed successfully, failed due to an error,
or was cancelled.
Return status indicates the reason for scan completion: ZX_OK: All channels were scanned successfully. ZX_ERR_CANCELLED: The scan was terminated by a user request, either an explicit WlanSoftmac.CancelScan() or the initiation of an incompatible request (e.g. connect). ZX_ERR_OUT_OF_RANGE: The scan request included a prohibited channel. This may be due to the current country setting.
Trait Implementations§
Source§impl Clone for WlanSoftmacIfcBaseProxy
impl Clone for WlanSoftmacIfcBaseProxy
Source§impl Debug for WlanSoftmacIfcBaseProxy
impl Debug for WlanSoftmacIfcBaseProxy
Source§impl Proxy for WlanSoftmacIfcBaseProxy
impl Proxy for WlanSoftmacIfcBaseProxy
Source§type Protocol = WlanSoftmacIfcBaseMarker
type Protocol = WlanSoftmacIfcBaseMarker
Proxy controls.