pub struct WifiStaIfaceSynchronousProxy { /* private fields */ }
Implementations§
Source§impl WifiStaIfaceSynchronousProxy
impl WifiStaIfaceSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<WifiStaIfaceEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<WifiStaIfaceEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn get_name(
&self,
___deadline: MonotonicInstant,
) -> Result<WifiStaIfaceGetNameResponse, Error>
pub fn get_name( &self, ___deadline: MonotonicInstant, ) -> Result<WifiStaIfaceGetNameResponse, Error>
Get the name of this iface.
Trait Implementations§
Source§impl Debug for WifiStaIfaceSynchronousProxy
impl Debug for WifiStaIfaceSynchronousProxy
Source§impl SynchronousProxy for WifiStaIfaceSynchronousProxy
impl SynchronousProxy for WifiStaIfaceSynchronousProxy
Source§type Proxy = WifiStaIfaceProxy
type Proxy = WifiStaIfaceProxy
The async proxy for the same protocol.
Source§type Protocol = WifiStaIfaceMarker
type Protocol = WifiStaIfaceMarker
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 WifiStaIfaceSynchronousProxy
impl RefUnwindSafe for WifiStaIfaceSynchronousProxy
impl Send for WifiStaIfaceSynchronousProxy
impl Sync for WifiStaIfaceSynchronousProxy
impl Unpin for WifiStaIfaceSynchronousProxy
impl UnwindSafe for WifiStaIfaceSynchronousProxy
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