pub struct ClientSme { /* private fields */ }
Implementations§
Source§impl ClientSme
impl ClientSme
pub fn new( cfg: ClientConfig, info: DeviceInfo, inspector: Inspector, inspect_node: Node, persistence_req_sender: PersistenceReqSender, mac_sublayer_support: MacSublayerSupport, security_support: SecuritySupport, spectrum_management_support: SpectrumManagementSupport, ) -> (Self, MlmeSink, MlmeStream, EventStream<Event>)
pub fn on_connect_command( &mut self, req: ConnectRequest, ) -> ConnectTransactionStream
pub fn on_roam_command(&mut self, req: RoamRequest)
pub fn on_disconnect_command( &mut self, policy_disconnect_reason: UserDisconnectReason, responder: ClientSmeDisconnectResponder, )
pub fn on_scan_command( &mut self, scan_request: ScanRequest, ) -> Receiver<Result<Vec<ScanResult>, ScanResultCode>>
pub fn on_clone_inspect_vmo(&self) -> Option<Vmo>
pub fn status(&self) -> ClientSmeStatus
pub fn wmm_status(&mut self) -> Receiver<ClientSmeWmmStatusResult>
pub fn counter_stats(&mut self) -> Receiver<GetIfaceCounterStatsResponse>
pub fn histogram_stats(&mut self) -> Receiver<GetIfaceHistogramStatsResponse>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientSme
impl !RefUnwindSafe for ClientSme
impl Send for ClientSme
impl !Sync for ClientSme
impl Unpin for ClientSme
impl !UnwindSafe for ClientSme
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