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, 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 query_telemetry_support( &mut self, ) -> Receiver<Result<TelemetrySupport, i32>>
pub fn iface_stats(&mut self) -> Receiver<GetIfaceStatsResponse>
pub fn histogram_stats(&mut self) -> Receiver<GetIfaceHistogramStatsResponse>
pub fn signal_report(&mut self) -> Receiver<Result<SignalReport, i32>>
pub fn set_mac_address( &mut self, mac_addr: [u8; 6], ) -> Receiver<Result<(), i32>>
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more