pub struct AccessPointProxy<'p>(/* private fields */);Implementations§
Source§impl AccessPointProxy<'_>
impl AccessPointProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection, ) -> Result<AccessPointProxy<'_>>
Source§impl<'p> AccessPointProxy<'p>
impl<'p> AccessPointProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<AccessPointProxy<'p>>
pub async fn new(conn: &Connection) -> Result<AccessPointProxy<'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 fn cached_bandwidth(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_bandwidth( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Bandwidth property
Get the cached value of the Bandwidth property, or None if the property is not cached.
Sourcepub async fn receive_bandwidth_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_bandwidth_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Bandwidth property
Create a stream for the Bandwidth property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_flags(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_flags( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Flags property
Get the cached value of the Flags property, or None if the property is not cached.
Sourcepub async fn receive_flags_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_flags_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Flags property
Create a stream for the Flags property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_frequency(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_frequency( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Frequency property
Get the cached value of the Frequency property, or None if the property is not cached.
Sourcepub async fn receive_frequency_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_frequency_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Frequency property
Create a stream for the Frequency 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 fn cached_last_seen(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_last_seen( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
LastSeen property
Get the cached value of the LastSeen property, or None if the property is not cached.
Sourcepub async fn receive_last_seen_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_last_seen_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
LastSeen property
Create a stream for the LastSeen property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn max_bitrate(&self) -> Result<u32>
pub async fn max_bitrate(&self) -> Result<u32>
MaxBitrate property
Sourcepub fn cached_max_bitrate(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_max_bitrate( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
MaxBitrate property
Get the cached value of the MaxBitrate property, or None if the property is not cached.
Sourcepub async fn receive_max_bitrate_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_max_bitrate_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
MaxBitrate property
Create a stream for the MaxBitrate property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_mode(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_mode( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
Mode property
Get the cached value of the Mode property, or None if the property is not cached.
Sourcepub async fn receive_mode_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_mode_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
Mode property
Create a stream for the Mode property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_rsn_flags(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_rsn_flags( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
RsnFlags property
Get the cached value of the RsnFlags property, or None if the property is not cached.
Sourcepub async fn receive_rsn_flags_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_rsn_flags_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
RsnFlags property
Create a stream for the RsnFlags property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_ssid(
&self,
) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
pub fn cached_ssid( &self, ) -> Result<Option<<Result<Vec<u8>> as ResultAdapter>::Ok>, <Result<Vec<u8>> as ResultAdapter>::Err>
Ssid property
Get the cached value of the Ssid property, or None if the property is not cached.
Sourcepub async fn receive_ssid_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
pub async fn receive_ssid_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u8>> as ResultAdapter>::Ok>
Ssid property
Create a stream for the Ssid property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_strength(
&self,
) -> Result<Option<<Result<u8> as ResultAdapter>::Ok>, <Result<u8> as ResultAdapter>::Err>
pub fn cached_strength( &self, ) -> Result<Option<<Result<u8> as ResultAdapter>::Ok>, <Result<u8> as ResultAdapter>::Err>
Strength property
Get the cached value of the Strength property, or None if the property is not cached.
Sourcepub async fn receive_strength_changed(
&self,
) -> PropertyStream<'p, <Result<u8> as ResultAdapter>::Ok>
pub async fn receive_strength_changed( &self, ) -> PropertyStream<'p, <Result<u8> as ResultAdapter>::Ok>
Strength property
Create a stream for the Strength property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_wpa_flags(
&self,
) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
pub fn cached_wpa_flags( &self, ) -> Result<Option<<Result<u32> as ResultAdapter>::Ok>, <Result<u32> as ResultAdapter>::Err>
WpaFlags property
Get the cached value of the WpaFlags property, or None if the property is not cached.
Sourcepub async fn receive_wpa_flags_changed(
&self,
) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
pub async fn receive_wpa_flags_changed( &self, ) -> PropertyStream<'p, <Result<u32> as ResultAdapter>::Ok>
WpaFlags property
Create a stream for the WpaFlags property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for AccessPointProxy<'p>
impl<'p> AsMut<Proxy<'p>> for AccessPointProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for AccessPointProxy<'p>
impl<'p> AsRef<Proxy<'p>> for AccessPointProxy<'p>
Source§impl<'p> Clone for AccessPointProxy<'p>
impl<'p> Clone for AccessPointProxy<'p>
Source§fn clone(&self) -> AccessPointProxy<'p>
fn clone(&self) -> AccessPointProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more