pub struct PhySynchronousProxy { /* private fields */ }Implementations§
Source§impl PhySynchronousProxy
 
impl PhySynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
    &self,
    deadline: MonotonicInstant,
) -> Result<PhyEvent, Error>
 
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<PhyEvent, 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 get_supported_mac_roles( &self, ___deadline: MonotonicInstant, ) -> Result<PhyGetSupportedMacRolesResult, Error>
pub fn create_iface( &self, req: CreateIfaceRequest, ___deadline: MonotonicInstant, ) -> Result<PhyCreateIfaceResult, Error>
pub fn destroy_iface( &self, req: &DestroyIfaceRequest, ___deadline: MonotonicInstant, ) -> Result<PhyDestroyIfaceResult, Error>
pub fn set_country( &self, req: &CountryCode, ___deadline: MonotonicInstant, ) -> Result<i32, Error>
pub fn get_country( &self, ___deadline: MonotonicInstant, ) -> Result<PhyGetCountryResult, Error>
pub fn clear_country(&self, ___deadline: MonotonicInstant) -> Result<i32, Error>
pub fn set_power_save_mode( &self, req: PowerSaveType, ___deadline: MonotonicInstant, ) -> Result<i32, Error>
pub fn get_power_save_mode( &self, ___deadline: MonotonicInstant, ) -> Result<PhyGetPowerSaveModeResult, Error>
pub fn power_down( &self, ___deadline: MonotonicInstant, ) -> Result<PhyPowerDownResult, Error>
pub fn power_up( &self, ___deadline: MonotonicInstant, ) -> Result<PhyPowerUpResult, Error>
pub fn reset( &self, ___deadline: MonotonicInstant, ) -> Result<PhyResetResult, Error>
pub fn get_power_state( &self, ___deadline: MonotonicInstant, ) -> Result<PhyGetPowerStateResult, Error>
pub fn set_bt_coexistence_mode( &self, mode: BtCoexistenceMode, ___deadline: MonotonicInstant, ) -> Result<PhySetBtCoexistenceModeResult, Error>
pub fn set_tx_power_scenario( &self, scenario: TxPowerScenario, ___deadline: MonotonicInstant, ) -> Result<PhySetTxPowerScenarioResult, Error>
pub fn reset_tx_power_scenario( &self, ___deadline: MonotonicInstant, ) -> Result<PhyResetTxPowerScenarioResult, Error>
pub fn get_tx_power_scenario( &self, ___deadline: MonotonicInstant, ) -> Result<PhyGetTxPowerScenarioResult, Error>
Trait Implementations§
Source§impl Debug for PhySynchronousProxy
 
impl Debug for PhySynchronousProxy
Source§impl From<Channel> for PhySynchronousProxy
Available on Fuchsia only. 
impl From<Channel> for PhySynchronousProxy
Available on Fuchsia only.
Source§impl From<PhySynchronousProxy> for Handle
Available on Fuchsia only. 
impl From<PhySynchronousProxy> for Handle
Available on Fuchsia only.
Source§fn from(value: PhySynchronousProxy) -> Self
 
fn from(value: PhySynchronousProxy) -> Self
Converts to this type from the input type.
Source§impl FromClient for PhySynchronousProxy
Available on Fuchsia only. 
impl FromClient for PhySynchronousProxy
Available on Fuchsia only.
Source§impl SynchronousProxy for PhySynchronousProxy
Available on Fuchsia only. 
impl SynchronousProxy for PhySynchronousProxy
Available on Fuchsia only.
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 PhySynchronousProxy
impl RefUnwindSafe for PhySynchronousProxy
impl Send for PhySynchronousProxy
impl Sync for PhySynchronousProxy
impl Unpin for PhySynchronousProxy
impl UnwindSafe for PhySynchronousProxy
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