pub struct ClientSmeSynchronousProxy { /* private fields */ }
Implementations§
Source§impl ClientSmeSynchronousProxy
impl ClientSmeSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<ClientSmeEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<ClientSmeEvent, 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 scan( &self, req: &ScanRequest, ___deadline: MonotonicInstant, ) -> Result<ClientSmeScanResult, Error>
pub fn connect( &self, req: &ConnectRequest, txn: Option<ServerEnd<ConnectTransactionMarker>>, ) -> Result<(), Error>
pub fn roam(&self, req: &RoamRequest) -> Result<(), Error>
pub fn disconnect( &self, reason: UserDisconnectReason, ___deadline: MonotonicInstant, ) -> Result<(), Error>
pub fn status( &self, ___deadline: MonotonicInstant, ) -> Result<ClientStatusResponse, Error>
pub fn wmm_status( &self, ___deadline: MonotonicInstant, ) -> Result<ClientSmeWmmStatusResult, Error>
pub fn scan_for_controller( &self, req: &ScanRequest, ___deadline: MonotonicInstant, ) -> Result<ClientSmeScanForControllerResult, Error>
Trait Implementations§
Source§impl Debug for ClientSmeSynchronousProxy
impl Debug for ClientSmeSynchronousProxy
Source§impl SynchronousProxy for ClientSmeSynchronousProxy
impl SynchronousProxy for ClientSmeSynchronousProxy
Source§type Proxy = ClientSmeProxy
type Proxy = ClientSmeProxy
The async proxy for the same protocol.
Source§type Protocol = ClientSmeMarker
type Protocol = ClientSmeMarker
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 ClientSmeSynchronousProxy
impl RefUnwindSafe for ClientSmeSynchronousProxy
impl Send for ClientSmeSynchronousProxy
impl Sync for ClientSmeSynchronousProxy
impl Unpin for ClientSmeSynchronousProxy
impl UnwindSafe for ClientSmeSynchronousProxy
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