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§fn clone(&self) -> WlanSoftmacIfcBaseProxy
fn clone(&self) -> WlanSoftmacIfcBaseProxy
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§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.Source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Source§impl WlanSoftmacIfcBaseProxyInterface for WlanSoftmacIfcBaseProxy
impl WlanSoftmacIfcBaseProxyInterface for WlanSoftmacIfcBaseProxy
type ReportTxResultResponseFut = QueryResponseFut<()>
type NotifyScanCompleteResponseFut = QueryResponseFut<()>
fn report_tx_result( &self, tx_result: &WlanTxResult, ) -> Self::ReportTxResultResponseFut
fn notify_scan_complete( &self, payload: &WlanSoftmacIfcBaseNotifyScanCompleteRequest, ) -> Self::NotifyScanCompleteResponseFut
Auto Trait Implementations§
impl Freeze for WlanSoftmacIfcBaseProxy
impl !RefUnwindSafe for WlanSoftmacIfcBaseProxy
impl Send for WlanSoftmacIfcBaseProxy
impl Sync for WlanSoftmacIfcBaseProxy
impl Unpin for WlanSoftmacIfcBaseProxy
impl !UnwindSafe for WlanSoftmacIfcBaseProxy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)