pub struct MlmeSynchronousProxy { /* private fields */ }
Implementations§
Source§impl MlmeSynchronousProxy
impl MlmeSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<MlmeEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<MlmeEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
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, ___deadline: MonotonicInstant, ) -> Result<DeviceInfo, Error>
pub fn query_discovery_support( &self, ___deadline: MonotonicInstant, ) -> Result<DiscoverySupport, Error>
pub fn query_mac_sublayer_support( &self, ___deadline: MonotonicInstant, ) -> Result<MacSublayerSupport, Error>
pub fn query_security_support( &self, ___deadline: MonotonicInstant, ) -> Result<SecuritySupport, Error>
pub fn query_spectrum_management_support( &self, ___deadline: MonotonicInstant, ) -> Result<SpectrumManagementSupport, Error>
pub fn get_iface_counter_stats( &self, ___deadline: MonotonicInstant, ) -> Result<GetIfaceCounterStatsResponse, Error>
pub fn get_iface_histogram_stats( &self, ___deadline: MonotonicInstant, ) -> Result<GetIfaceHistogramStatsResponse, Error>
pub fn list_minstrel_peers( &self, ___deadline: MonotonicInstant, ) -> Result<MinstrelListResponse, Error>
pub fn get_minstrel_stats( &self, req: &MinstrelStatsRequest, ___deadline: MonotonicInstant, ) -> Result<MinstrelStatsResponse, Error>
pub fn start_capture_frames( &self, req: &StartCaptureFramesRequest, ___deadline: MonotonicInstant, ) -> Result<StartCaptureFramesResponse, Error>
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 Debug for MlmeSynchronousProxy
impl Debug for MlmeSynchronousProxy
Source§impl SynchronousProxy for MlmeSynchronousProxy
impl SynchronousProxy for MlmeSynchronousProxy
Source§type Protocol = MlmeMarker
type Protocol = MlmeMarker
The protocol which this
Proxy
controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for MlmeSynchronousProxy
impl RefUnwindSafe for MlmeSynchronousProxy
impl Send for MlmeSynchronousProxy
impl Sync for MlmeSynchronousProxy
impl Unpin for MlmeSynchronousProxy
impl UnwindSafe for MlmeSynchronousProxy
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