pub struct WlanFullmacImpl_Proxy { /* private fields */ }
Implementations§
source§impl WlanFullmacImpl_Proxy
impl WlanFullmacImpl_Proxy
sourcepub fn new(channel: AsyncChannel) -> Self
pub fn new(channel: AsyncChannel) -> Self
Create a new Proxy for fuchsia.wlan.fullmac/WlanFullmacImpl.
sourcepub fn take_event_stream(&self) -> WlanFullmacImpl_EventStream
pub fn take_event_stream(&self) -> WlanFullmacImpl_EventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
pub fn start( &self, ifc: ClientEnd<WlanFullmacImplIfcMarker>, ) -> QueryResponseFut<WlanFullmacImplStartResult>
pub fn stop(&self) -> QueryResponseFut<()>
pub fn query(&self) -> QueryResponseFut<WlanFullmacImplQueryResult>
pub fn query_mac_sublayer_support( &self, ) -> QueryResponseFut<WlanFullmacImplQueryMacSublayerSupportResult>
pub fn query_security_support( &self, ) -> QueryResponseFut<WlanFullmacImplQuerySecuritySupportResult>
pub fn query_spectrum_management_support( &self, ) -> QueryResponseFut<WlanFullmacImplQuerySpectrumManagementSupportResult>
pub fn start_scan( &self, payload: &WlanFullmacImplStartScanRequest, ) -> QueryResponseFut<()>
pub fn connect( &self, payload: &WlanFullmacImplConnectRequest, ) -> QueryResponseFut<()>
pub fn reconnect( &self, payload: &WlanFullmacImplReconnectRequest, ) -> QueryResponseFut<()>
sourcepub fn roam(&self, payload: &WlanFullmacImplRoamRequest) -> QueryResponseFut<()>
pub fn roam(&self, payload: &WlanFullmacImplRoamRequest) -> QueryResponseFut<()>
Initiate a roam attempt, which moves association to a different BSS within the ESS.
pub fn auth_resp( &self, payload: &WlanFullmacImplAuthRespRequest, ) -> QueryResponseFut<()>
pub fn deauth( &self, payload: &WlanFullmacImplDeauthRequest, ) -> QueryResponseFut<()>
pub fn assoc_resp( &self, payload: &WlanFullmacImplAssocRespRequest, ) -> QueryResponseFut<()>
pub fn disassoc( &self, payload: &WlanFullmacImplDisassocRequest, ) -> QueryResponseFut<()>
pub fn reset( &self, payload: &WlanFullmacImplResetRequest, ) -> QueryResponseFut<()>
pub fn start_bss( &self, payload: &WlanFullmacImplStartBssRequest, ) -> QueryResponseFut<()>
pub fn stop_bss( &self, payload: &WlanFullmacImplStopBssRequest, ) -> QueryResponseFut<()>
pub fn set_keys( &self, payload: &WlanFullmacImplSetKeysRequest, ) -> QueryResponseFut<WlanFullmacSetKeysResp>
pub fn del_keys( &self, payload: &WlanFullmacImplDelKeysRequest, ) -> QueryResponseFut<()>
pub fn eapol_tx( &self, payload: &WlanFullmacImplEapolTxRequest, ) -> QueryResponseFut<()>
pub fn get_iface_counter_stats( &self, ) -> QueryResponseFut<WlanFullmacImplGetIfaceCounterStatsResult>
pub fn get_iface_histogram_stats( &self, ) -> QueryResponseFut<WlanFullmacImplGetIfaceHistogramStatsResult>
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<WlanFullmacImplSetMulticastPromiscResult>
pub fn on_link_state_changed(&self, online: bool) -> QueryResponseFut<()>
Trait Implementations§
source§impl Clone for WlanFullmacImpl_Proxy
impl Clone for WlanFullmacImpl_Proxy
source§fn clone(&self) -> WlanFullmacImpl_Proxy
fn clone(&self) -> WlanFullmacImpl_Proxy
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 WlanFullmacImpl_Proxy
impl Debug for WlanFullmacImpl_Proxy
source§impl Proxy for WlanFullmacImpl_Proxy
impl Proxy for WlanFullmacImpl_Proxy
§type Protocol = WlanFullmacImpl_Marker
type Protocol = WlanFullmacImpl_Marker
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 WlanFullmacImpl_ProxyInterface for WlanFullmacImpl_Proxy
impl WlanFullmacImpl_ProxyInterface for WlanFullmacImpl_Proxy
type StartResponseFut = QueryResponseFut<Result<Channel, i32>>
fn start( &self, ifc: ClientEnd<WlanFullmacImplIfcMarker>, ) -> Self::StartResponseFut
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: &WlanFullmacImplStartScanRequest, ) -> Self::StartScanResponseFut
type ConnectResponseFut = QueryResponseFut<()>
fn connect( &self, payload: &WlanFullmacImplConnectRequest, ) -> Self::ConnectResponseFut
type ReconnectResponseFut = QueryResponseFut<()>
fn reconnect( &self, payload: &WlanFullmacImplReconnectRequest, ) -> Self::ReconnectResponseFut
type RoamResponseFut = QueryResponseFut<()>
fn roam(&self, payload: &WlanFullmacImplRoamRequest) -> Self::RoamResponseFut
type AuthRespResponseFut = QueryResponseFut<()>
fn auth_resp( &self, payload: &WlanFullmacImplAuthRespRequest, ) -> Self::AuthRespResponseFut
type DeauthResponseFut = QueryResponseFut<()>
fn deauth( &self, payload: &WlanFullmacImplDeauthRequest, ) -> Self::DeauthResponseFut
type AssocRespResponseFut = QueryResponseFut<()>
fn assoc_resp( &self, payload: &WlanFullmacImplAssocRespRequest, ) -> Self::AssocRespResponseFut
type DisassocResponseFut = QueryResponseFut<()>
fn disassoc( &self, payload: &WlanFullmacImplDisassocRequest, ) -> Self::DisassocResponseFut
type ResetResponseFut = QueryResponseFut<()>
fn reset(&self, payload: &WlanFullmacImplResetRequest) -> Self::ResetResponseFut
type StartBssResponseFut = QueryResponseFut<()>
fn start_bss( &self, payload: &WlanFullmacImplStartBssRequest, ) -> Self::StartBssResponseFut
type StopBssResponseFut = QueryResponseFut<()>
fn stop_bss( &self, payload: &WlanFullmacImplStopBssRequest, ) -> Self::StopBssResponseFut
type SetKeysResponseFut = QueryResponseFut<WlanFullmacSetKeysResp>
fn set_keys( &self, payload: &WlanFullmacImplSetKeysRequest, ) -> Self::SetKeysResponseFut
type DelKeysResponseFut = QueryResponseFut<()>
fn del_keys( &self, payload: &WlanFullmacImplDelKeysRequest, ) -> Self::DelKeysResponseFut
type EapolTxResponseFut = QueryResponseFut<()>
fn eapol_tx( &self, payload: &WlanFullmacImplEapolTxRequest, ) -> 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 WlanFullmacImpl_Proxy
impl !RefUnwindSafe for WlanFullmacImpl_Proxy
impl Send for WlanFullmacImpl_Proxy
impl Sync for WlanFullmacImpl_Proxy
impl Unpin for WlanFullmacImpl_Proxy
impl !UnwindSafe for WlanFullmacImpl_Proxy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)