pub struct WifiLegacyHalSynchronousProxy { /* private fields */ }
Implementations§
Source§impl WifiLegacyHalSynchronousProxy
impl WifiLegacyHalSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<WifiLegacyHalEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<WifiLegacyHalEvent, 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 select_tx_power_scenario(
&self,
payload: WifiLegacyHalSelectTxPowerScenarioRequest,
___deadline: MonotonicInstant,
) -> Result<WifiLegacyHalSelectTxPowerScenarioResult, Error>
pub fn select_tx_power_scenario( &self, payload: WifiLegacyHalSelectTxPowerScenarioRequest, ___deadline: MonotonicInstant, ) -> Result<WifiLegacyHalSelectTxPowerScenarioResult, Error>
Sets the SAR scenario for all available PHYs.
Sourcepub fn reset_tx_power_scenario(
&self,
___deadline: MonotonicInstant,
) -> Result<WifiLegacyHalResetTxPowerScenarioResult, Error>
pub fn reset_tx_power_scenario( &self, ___deadline: MonotonicInstant, ) -> Result<WifiLegacyHalResetTxPowerScenarioResult, Error>
Sets each PHY’s SAR scenario to the default scenario.
Trait Implementations§
Source§impl From<Channel> for WifiLegacyHalSynchronousProxy
impl From<Channel> for WifiLegacyHalSynchronousProxy
Source§impl From<WifiLegacyHalSynchronousProxy> for Handle
impl From<WifiLegacyHalSynchronousProxy> for Handle
Source§fn from(value: WifiLegacyHalSynchronousProxy) -> Self
fn from(value: WifiLegacyHalSynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for WifiLegacyHalSynchronousProxy
impl FromClient for WifiLegacyHalSynchronousProxy
Source§type Protocol = WifiLegacyHalMarker
type Protocol = WifiLegacyHalMarker
The protocol.
Source§fn from_client(value: ClientEnd<WifiLegacyHalMarker>) -> Self
fn from_client(value: ClientEnd<WifiLegacyHalMarker>) -> Self
Converts from a client.
Source§impl SynchronousProxy for WifiLegacyHalSynchronousProxy
impl SynchronousProxy for WifiLegacyHalSynchronousProxy
Source§type Proxy = WifiLegacyHalProxy
type Proxy = WifiLegacyHalProxy
The async proxy for the same protocol.
Source§type Protocol = WifiLegacyHalMarker
type Protocol = WifiLegacyHalMarker
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 WifiLegacyHalSynchronousProxy
impl RefUnwindSafe for WifiLegacyHalSynchronousProxy
impl Send for WifiLegacyHalSynchronousProxy
impl Sync for WifiLegacyHalSynchronousProxy
impl Unpin for WifiLegacyHalSynchronousProxy
impl UnwindSafe for WifiLegacyHalSynchronousProxy
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