pub struct WiMaxProxy<'p>(/* private fields */);Implementations§
Source§impl WiMaxProxy<'_>
impl WiMaxProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection, ) -> Result<WiMaxProxy<'_>>
Source§impl<'p> WiMaxProxy<'p>
impl<'p> WiMaxProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<WiMaxProxy<'p>>
pub async fn new(conn: &Connection) -> Result<WiMaxProxy<'p>>
Creates a new proxy with the default service and path.
Sourcepub fn builder(conn: &Connection) -> Builder<'p, Self>
pub fn builder(conn: &Connection) -> Builder<'p, Self>
Returns a customizable builder for this proxy.
Sourcepub fn into_inner(self) -> Proxy<'p>
pub fn into_inner(self) -> Proxy<'p>
Consumes self, returning the underlying zbus::Proxy.
Sourcepub fn inner_mut(&mut self) -> &mut Proxy<'p>
pub fn inner_mut(&mut self) -> &mut Proxy<'p>
The mutable reference to the underlying zbus::Proxy.
Sourcepub async fn get_nsp_list(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn get_nsp_list(&self) -> Result<Vec<OwnedObjectPath>>
GetNspList method
Sourcepub async fn receive_nsp_added(&self) -> Result<NspAddedStream>
pub async fn receive_nsp_added(&self) -> Result<NspAddedStream>
Create a stream that receives NspAdded signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
NspAdded signal
Sourcepub async fn receive_nsp_added_with_args(
&self,
args: &[(u8, &str)],
) -> Result<NspAddedStream>
pub async fn receive_nsp_added_with_args( &self, args: &[(u8, &str)], ) -> Result<NspAddedStream>
Create a stream that receives NspAdded signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
NspAdded signal
Sourcepub async fn receive_nsp_removed(&self) -> Result<NspRemovedStream>
pub async fn receive_nsp_removed(&self) -> Result<NspRemovedStream>
Create a stream that receives NspRemoved signals.
This a convenient wrapper around zbus::Proxy::receive_signal.
NspRemoved signal
Sourcepub async fn receive_nsp_removed_with_args(
&self,
args: &[(u8, &str)],
) -> Result<NspRemovedStream>
pub async fn receive_nsp_removed_with_args( &self, args: &[(u8, &str)], ) -> Result<NspRemovedStream>
Create a stream that receives NspRemoved signals.
This a convenient wrapper around zbus::Proxy::receive_signal_with_args.
NspRemoved signal
Sourcepub async fn active_nsp(&self) -> Result<OwnedObjectPath>
pub async fn active_nsp(&self) -> Result<OwnedObjectPath>
ActiveNsp property
Sourcepub fn cached_active_nsp(
&self,
) -> Result<Option<<Result<OwnedObjectPath> as ResultAdapter>::Ok>, <Result<OwnedObjectPath> as ResultAdapter>::Err>
pub fn cached_active_nsp( &self, ) -> Result<Option<<Result<OwnedObjectPath> as ResultAdapter>::Ok>, <Result<OwnedObjectPath> as ResultAdapter>::Err>
ActiveNsp property
Get the cached value of the ActiveNsp property, or None if the property is not cached.
Sourcepub async fn receive_active_nsp_changed(
&self,
) -> PropertyStream<'p, <Result<OwnedObjectPath> as ResultAdapter>::Ok>
pub async fn receive_active_nsp_changed( &self, ) -> PropertyStream<'p, <Result<OwnedObjectPath> as ResultAdapter>::Ok>
ActiveNsp property
Create a stream for the ActiveNsp property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_bsid(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_bsid( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Bsid property
Get the cached value of the Bsid property, or None if the property is not cached.
Sourcepub async fn receive_bsid_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_bsid_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Bsid property
Create a stream for the Bsid property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn center_frequency(&self) -> Result<u32>
pub async fn center_frequency(&self) -> Result<u32>
CenterFrequency property
Sourcepub fn cached_center_frequency(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_center_frequency( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
CenterFrequency property
Get the cached value of the CenterFrequency property, or None if the property is not cached.
Sourcepub async fn receive_center_frequency_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_center_frequency_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
CenterFrequency property
Create a stream for the CenterFrequency property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_cinr(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_cinr( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Cinr property
Get the cached value of the Cinr property, or None if the property is not cached.
Sourcepub async fn receive_cinr_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_cinr_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Cinr property
Create a stream for the Cinr property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn hw_address(&self) -> Result<String>
pub async fn hw_address(&self) -> Result<String>
HwAddress property
Sourcepub fn cached_hw_address(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_hw_address( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
HwAddress property
Get the cached value of the HwAddress property, or None if the property is not cached.
Sourcepub async fn receive_hw_address_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_hw_address_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
HwAddress property
Create a stream for the HwAddress property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn nsps(&self) -> Result<Vec<OwnedObjectPath>>
pub async fn nsps(&self) -> Result<Vec<OwnedObjectPath>>
Nsps property
Sourcepub fn cached_nsps(
&self,
) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
pub fn cached_nsps( &self, ) -> Result<Option<<Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Err>
Nsps property
Get the cached value of the Nsps property, or None if the property is not cached.
Sourcepub async fn receive_nsps_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
pub async fn receive_nsps_changed( &self, ) -> PropertyStream<'p, <Result<Vec<OwnedObjectPath>> as ResultAdapter>::Ok>
Nsps property
Create a stream for the Nsps property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_rssi(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_rssi( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
Rssi property
Get the cached value of the Rssi property, or None if the property is not cached.
Sourcepub async fn receive_rssi_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_rssi_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
Rssi property
Create a stream for the Rssi property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_tx_power(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_tx_power( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
TxPower property
Get the cached value of the TxPower property, or None if the property is not cached.
Sourcepub async fn receive_tx_power_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_tx_power_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
TxPower property
Create a stream for the TxPower property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for WiMaxProxy<'p>
impl<'p> AsMut<Proxy<'p>> for WiMaxProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for WiMaxProxy<'p>
impl<'p> AsRef<Proxy<'p>> for WiMaxProxy<'p>
Source§impl<'p> Clone for WiMaxProxy<'p>
impl<'p> Clone for WiMaxProxy<'p>
Source§fn clone(&self) -> WiMaxProxy<'p>
fn clone(&self) -> WiMaxProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more