pub struct WlanFullmacImplBaseProxy { /* private fields */ }
Implementations§
source§impl WlanFullmacImplBaseProxy
impl WlanFullmacImplBaseProxy
sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.wlan.fullmac/WlanFullmacImplBase.
sourcepub fn take_event_stream(&self) -> WlanFullmacImplBaseEventStream
pub fn take_event_stream(&self) -> WlanFullmacImplBaseEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
pub fn stop(&self) -> QueryResponseFut<()>
pub fn query(&self) -> QueryResponseFut<WlanFullmacImplBaseQueryResult>
pub fn query_mac_sublayer_support( &self ) -> QueryResponseFut<WlanFullmacImplBaseQueryMacSublayerSupportResult>
pub fn query_security_support( &self ) -> QueryResponseFut<WlanFullmacImplBaseQuerySecuritySupportResult>
pub fn query_spectrum_management_support( &self ) -> QueryResponseFut<WlanFullmacImplBaseQuerySpectrumManagementSupportResult>
pub fn start_scan( &self, payload: &WlanFullmacImplBaseStartScanRequest ) -> QueryResponseFut<()>
pub fn connect( &self, payload: &WlanFullmacImplBaseConnectRequest ) -> QueryResponseFut<()>
pub fn reconnect( &self, payload: &WlanFullmacImplBaseReconnectRequest ) -> QueryResponseFut<()>
pub fn auth_resp( &self, payload: &WlanFullmacImplBaseAuthRespRequest ) -> QueryResponseFut<()>
pub fn deauth( &self, payload: &WlanFullmacImplBaseDeauthRequest ) -> QueryResponseFut<()>
pub fn assoc_resp( &self, payload: &WlanFullmacImplBaseAssocRespRequest ) -> QueryResponseFut<()>
pub fn disassoc( &self, payload: &WlanFullmacImplBaseDisassocRequest ) -> QueryResponseFut<()>
pub fn reset( &self, payload: &WlanFullmacImplBaseResetRequest ) -> QueryResponseFut<()>
pub fn start_bss( &self, payload: &WlanFullmacImplBaseStartBssRequest ) -> QueryResponseFut<()>
pub fn stop_bss( &self, payload: &WlanFullmacImplBaseStopBssRequest ) -> QueryResponseFut<()>
pub fn set_keys_req( &self, req: &WlanFullmacSetKeysReq ) -> QueryResponseFut<WlanFullmacSetKeysResp>
pub fn del_keys_req(&self, req: &WlanFullmacDelKeysReq) -> QueryResponseFut<()>
pub fn eapol_tx( &self, payload: &WlanFullmacImplBaseEapolTxRequest ) -> QueryResponseFut<()>
pub fn get_iface_counter_stats( &self ) -> QueryResponseFut<WlanFullmacImplBaseGetIfaceCounterStatsResult>
pub fn get_iface_histogram_stats( &self ) -> QueryResponseFut<WlanFullmacImplBaseGetIfaceHistogramStatsResult>
pub fn sae_handshake_resp( &self, resp: &WlanFullmacSaeHandshakeResp ) -> QueryResponseFut<()>
pub fn sae_frame_tx(&self, frame: &WlanFullmacSaeFrame) -> QueryResponseFut<()>
pub fn wmm_status_req(&self) -> QueryResponseFut<()>
pub fn set_multicast_promisc( &self, enable: bool ) -> QueryResponseFut<WlanFullmacImplBaseSetMulticastPromiscResult>
pub fn on_link_state_changed(&self, online: bool) -> QueryResponseFut<()>
Trait Implementations§
source§impl Clone for WlanFullmacImplBaseProxy
impl Clone for WlanFullmacImplBaseProxy
source§fn clone(&self) -> WlanFullmacImplBaseProxy
fn clone(&self) -> WlanFullmacImplBaseProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WlanFullmacImplBaseProxy
impl Debug for WlanFullmacImplBaseProxy
source§impl Proxy for WlanFullmacImplBaseProxy
impl Proxy for WlanFullmacImplBaseProxy
§type Protocol = WlanFullmacImplBaseMarker
type Protocol = WlanFullmacImplBaseMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more
§fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
fn into_client_end(self) -> Result<ClientEnd<Self::Protocol>, Self>
Attempt to convert the proxy back into a client end. Read more
source§impl WlanFullmacImplBaseProxyInterface for WlanFullmacImplBaseProxy
impl WlanFullmacImplBaseProxyInterface for WlanFullmacImplBaseProxy
type StopResponseFut = QueryResponseFut<()>
fn stop(&self) -> Self::StopResponseFut
type QueryResponseFut = QueryResponseFut<Result<WlanFullmacQueryInfo, i32>>
fn query(&self) -> Self::QueryResponseFut
type QueryMacSublayerSupportResponseFut = QueryResponseFut<Result<MacSublayerSupport, i32>>
fn query_mac_sublayer_support(&self) -> Self::QueryMacSublayerSupportResponseFut
type QuerySecuritySupportResponseFut = QueryResponseFut<Result<SecuritySupport, i32>>
fn query_security_support(&self) -> Self::QuerySecuritySupportResponseFut
type QuerySpectrumManagementSupportResponseFut = QueryResponseFut<Result<SpectrumManagementSupport, i32>>
fn query_spectrum_management_support( &self ) -> Self::QuerySpectrumManagementSupportResponseFut
type StartScanResponseFut = QueryResponseFut<()>
fn start_scan( &self, payload: &WlanFullmacImplBaseStartScanRequest ) -> Self::StartScanResponseFut
type ConnectResponseFut = QueryResponseFut<()>
fn connect( &self, payload: &WlanFullmacImplBaseConnectRequest ) -> Self::ConnectResponseFut
type ReconnectResponseFut = QueryResponseFut<()>
fn reconnect( &self, payload: &WlanFullmacImplBaseReconnectRequest ) -> Self::ReconnectResponseFut
type AuthRespResponseFut = QueryResponseFut<()>
fn auth_resp( &self, payload: &WlanFullmacImplBaseAuthRespRequest ) -> Self::AuthRespResponseFut
type DeauthResponseFut = QueryResponseFut<()>
fn deauth( &self, payload: &WlanFullmacImplBaseDeauthRequest ) -> Self::DeauthResponseFut
type AssocRespResponseFut = QueryResponseFut<()>
fn assoc_resp( &self, payload: &WlanFullmacImplBaseAssocRespRequest ) -> Self::AssocRespResponseFut
type DisassocResponseFut = QueryResponseFut<()>
fn disassoc( &self, payload: &WlanFullmacImplBaseDisassocRequest ) -> Self::DisassocResponseFut
type ResetResponseFut = QueryResponseFut<()>
fn reset( &self, payload: &WlanFullmacImplBaseResetRequest ) -> Self::ResetResponseFut
type StartBssResponseFut = QueryResponseFut<()>
fn start_bss( &self, payload: &WlanFullmacImplBaseStartBssRequest ) -> Self::StartBssResponseFut
type StopBssResponseFut = QueryResponseFut<()>
fn stop_bss( &self, payload: &WlanFullmacImplBaseStopBssRequest ) -> Self::StopBssResponseFut
type SetKeysReqResponseFut = QueryResponseFut<WlanFullmacSetKeysResp>
fn set_keys_req( &self, req: &WlanFullmacSetKeysReq ) -> Self::SetKeysReqResponseFut
type DelKeysReqResponseFut = QueryResponseFut<()>
fn del_keys_req( &self, req: &WlanFullmacDelKeysReq ) -> Self::DelKeysReqResponseFut
type EapolTxResponseFut = QueryResponseFut<()>
fn eapol_tx( &self, payload: &WlanFullmacImplBaseEapolTxRequest ) -> Self::EapolTxResponseFut
type GetIfaceCounterStatsResponseFut = QueryResponseFut<Result<WlanFullmacIfaceCounterStats, i32>>
fn get_iface_counter_stats(&self) -> Self::GetIfaceCounterStatsResponseFut
type GetIfaceHistogramStatsResponseFut = QueryResponseFut<Result<WlanFullmacIfaceHistogramStats, i32>>
fn get_iface_histogram_stats(&self) -> Self::GetIfaceHistogramStatsResponseFut
type SaeHandshakeRespResponseFut = QueryResponseFut<()>
fn sae_handshake_resp( &self, resp: &WlanFullmacSaeHandshakeResp ) -> Self::SaeHandshakeRespResponseFut
type SaeFrameTxResponseFut = QueryResponseFut<()>
fn sae_frame_tx( &self, frame: &WlanFullmacSaeFrame ) -> Self::SaeFrameTxResponseFut
type WmmStatusReqResponseFut = QueryResponseFut<()>
fn wmm_status_req(&self) -> Self::WmmStatusReqResponseFut
type SetMulticastPromiscResponseFut = QueryResponseFut<Result<(), i32>>
fn set_multicast_promisc( &self, enable: bool ) -> Self::SetMulticastPromiscResponseFut
type OnLinkStateChangedResponseFut = QueryResponseFut<()>
fn on_link_state_changed( &self, online: bool ) -> Self::OnLinkStateChangedResponseFut
Auto Trait Implementations§
impl Freeze for WlanFullmacImplBaseProxy
impl !RefUnwindSafe for WlanFullmacImplBaseProxy
impl Send for WlanFullmacImplBaseProxy
impl Sync for WlanFullmacImplBaseProxy
impl Unpin for WlanFullmacImplBaseProxy
impl !UnwindSafe for WlanFullmacImplBaseProxy
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
Mutably borrows from an owned value. Read more