pub struct MlmeProxy { /* private fields */ }
Implementations§
Source§impl MlmeProxy
impl MlmeProxy
Sourcepub fn take_event_stream(&self) -> MlmeEventStream
pub fn take_event_stream(&self) -> MlmeEventStream
Get a Stream of events from the remote end of the protocol.
§Panics
Panics if the event stream was already taken.
pub fn start_scan(&self, req: &ScanRequest) -> Result<(), Error>
pub fn connect_req(&self, req: &ConnectRequest) -> Result<(), Error>
pub fn reconnect_req(&self, req: &ReconnectRequest) -> Result<(), Error>
Sourcepub fn roam_req(&self, req: &RoamRequest) -> Result<(), Error>
pub fn roam_req(&self, req: &RoamRequest) -> Result<(), Error>
Initiate a roam attempt (SME-initiated).
pub fn authenticate_resp( &self, resp: &AuthenticateResponse, ) -> Result<(), Error>
pub fn deauthenticate_req( &self, req: &DeauthenticateRequest, ) -> Result<(), Error>
pub fn associate_resp(&self, resp: &AssociateResponse) -> Result<(), Error>
pub fn disassociate_req(&self, req: &DisassociateRequest) -> Result<(), Error>
pub fn reset_req(&self, req: &ResetRequest) -> Result<(), Error>
pub fn start_req(&self, req: &StartRequest) -> Result<(), Error>
pub fn stop_req(&self, req: &StopRequest) -> Result<(), Error>
pub fn set_keys_req(&self, req: &SetKeysRequest) -> Result<(), Error>
pub fn delete_keys_req(&self, req: &DeleteKeysRequest) -> Result<(), Error>
pub fn eapol_req(&self, req: &EapolRequest) -> Result<(), Error>
pub fn set_controlled_port( &self, req: &SetControlledPortRequest, ) -> Result<(), Error>
pub fn query_device_info( &self, ) -> QueryResponseFut<DeviceInfo, DefaultFuchsiaResourceDialect>
pub fn query_discovery_support( &self, ) -> QueryResponseFut<DiscoverySupport, DefaultFuchsiaResourceDialect>
pub fn query_mac_sublayer_support( &self, ) -> QueryResponseFut<MacSublayerSupport, DefaultFuchsiaResourceDialect>
pub fn query_security_support( &self, ) -> QueryResponseFut<SecuritySupport, DefaultFuchsiaResourceDialect>
pub fn query_spectrum_management_support( &self, ) -> QueryResponseFut<SpectrumManagementSupport, DefaultFuchsiaResourceDialect>
pub fn get_iface_counter_stats( &self, ) -> QueryResponseFut<GetIfaceCounterStatsResponse, DefaultFuchsiaResourceDialect>
pub fn get_iface_histogram_stats( &self, ) -> QueryResponseFut<GetIfaceHistogramStatsResponse, DefaultFuchsiaResourceDialect>
pub fn list_minstrel_peers( &self, ) -> QueryResponseFut<MinstrelListResponse, DefaultFuchsiaResourceDialect>
pub fn get_minstrel_stats( &self, req: &MinstrelStatsRequest, ) -> QueryResponseFut<MinstrelStatsResponse, DefaultFuchsiaResourceDialect>
pub fn start_capture_frames( &self, req: &StartCaptureFramesRequest, ) -> QueryResponseFut<StartCaptureFramesResponse, DefaultFuchsiaResourceDialect>
pub fn stop_capture_frames(&self) -> Result<(), Error>
Sourcepub fn sae_handshake_resp(
&self,
resp: &SaeHandshakeResponse,
) -> Result<(), Error>
pub fn sae_handshake_resp( &self, resp: &SaeHandshakeResponse, ) -> Result<(), Error>
Notifies that SAE authentication is completed.
Sourcepub fn sae_frame_tx(&self, frame: &SaeFrame) -> Result<(), Error>
pub fn sae_frame_tx(&self, frame: &SaeFrame) -> Result<(), Error>
Transmits SAE frame (if SME is managing SAE authentication).
pub fn wmm_status_req(&self) -> Result<(), Error>
pub fn finalize_association_req( &self, negotiated_capabilities: &NegotiatedCapabilities, ) -> Result<(), Error>
Trait Implementations§
Source§impl MlmeProxyInterface for MlmeProxy
impl MlmeProxyInterface for MlmeProxy
type QueryDeviceInfoResponseFut = QueryResponseFut<DeviceInfo>
type QueryDiscoverySupportResponseFut = QueryResponseFut<DiscoverySupport>
type QueryMacSublayerSupportResponseFut = QueryResponseFut<MacSublayerSupport>
type QuerySecuritySupportResponseFut = QueryResponseFut<SecuritySupport>
type QuerySpectrumManagementSupportResponseFut = QueryResponseFut<SpectrumManagementSupport>
type GetIfaceCounterStatsResponseFut = QueryResponseFut<GetIfaceCounterStatsResponse>
type GetIfaceHistogramStatsResponseFut = QueryResponseFut<GetIfaceHistogramStatsResponse>
type ListMinstrelPeersResponseFut = QueryResponseFut<MinstrelListResponse>
type GetMinstrelStatsResponseFut = QueryResponseFut<MinstrelStatsResponse>
type StartCaptureFramesResponseFut = QueryResponseFut<StartCaptureFramesResponse>
fn start_scan(&self, req: &ScanRequest) -> Result<(), Error>
fn connect_req(&self, req: &ConnectRequest) -> Result<(), Error>
fn reconnect_req(&self, req: &ReconnectRequest) -> Result<(), Error>
fn roam_req(&self, req: &RoamRequest) -> Result<(), Error>
fn authenticate_resp(&self, resp: &AuthenticateResponse) -> Result<(), Error>
fn deauthenticate_req(&self, req: &DeauthenticateRequest) -> Result<(), Error>
fn associate_resp(&self, resp: &AssociateResponse) -> Result<(), Error>
fn disassociate_req(&self, req: &DisassociateRequest) -> Result<(), Error>
fn reset_req(&self, req: &ResetRequest) -> Result<(), Error>
fn start_req(&self, req: &StartRequest) -> Result<(), Error>
fn stop_req(&self, req: &StopRequest) -> Result<(), Error>
fn set_keys_req(&self, req: &SetKeysRequest) -> Result<(), Error>
fn delete_keys_req(&self, req: &DeleteKeysRequest) -> Result<(), Error>
fn eapol_req(&self, req: &EapolRequest) -> Result<(), Error>
fn set_controlled_port( &self, req: &SetControlledPortRequest, ) -> Result<(), Error>
fn query_device_info(&self) -> Self::QueryDeviceInfoResponseFut
fn query_discovery_support(&self) -> Self::QueryDiscoverySupportResponseFut
fn query_mac_sublayer_support(&self) -> Self::QueryMacSublayerSupportResponseFut
fn query_security_support(&self) -> Self::QuerySecuritySupportResponseFut
fn query_spectrum_management_support( &self, ) -> Self::QuerySpectrumManagementSupportResponseFut
fn get_iface_counter_stats(&self) -> Self::GetIfaceCounterStatsResponseFut
fn get_iface_histogram_stats(&self) -> Self::GetIfaceHistogramStatsResponseFut
fn list_minstrel_peers(&self) -> Self::ListMinstrelPeersResponseFut
fn get_minstrel_stats( &self, req: &MinstrelStatsRequest, ) -> Self::GetMinstrelStatsResponseFut
fn start_capture_frames( &self, req: &StartCaptureFramesRequest, ) -> Self::StartCaptureFramesResponseFut
fn stop_capture_frames(&self) -> Result<(), Error>
fn sae_handshake_resp(&self, resp: &SaeHandshakeResponse) -> Result<(), Error>
fn sae_frame_tx(&self, frame: &SaeFrame) -> Result<(), Error>
fn wmm_status_req(&self) -> Result<(), Error>
fn finalize_association_req( &self, negotiated_capabilities: &NegotiatedCapabilities, ) -> Result<(), Error>
Source§impl Proxy for MlmeProxy
impl Proxy for MlmeProxy
Source§type Protocol = MlmeMarker
type Protocol = MlmeMarker
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
Auto Trait Implementations§
impl Freeze for MlmeProxy
impl !RefUnwindSafe for MlmeProxy
impl Send for MlmeProxy
impl Sync for MlmeProxy
impl Unpin for MlmeProxy
impl !UnwindSafe for MlmeProxy
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ProxyHasClient for Twhere
T: Proxy,
impl<T> ProxyHasClient for Twhere
T: Proxy,
§fn client(&self) -> Result<ZirconClient, Infallible>
fn client(&self) -> Result<ZirconClient, Infallible>
Get a “client” for this proxy. This is just an object which has methods
for a few common handle creation operations.