pub struct IP4ConfigProxy<'p>(/* private fields */);Implementations§
Source§impl IP4ConfigProxy<'_>
impl IP4ConfigProxy<'_>
pub async fn new_from_path( device_path: OwnedObjectPath, connection: &Connection, ) -> Result<IP4ConfigProxy<'_>>
Source§impl<'p> IP4ConfigProxy<'p>
impl<'p> IP4ConfigProxy<'p>
Sourcepub async fn new(conn: &Connection) -> Result<IP4ConfigProxy<'p>>
pub async fn new(conn: &Connection) -> Result<IP4ConfigProxy<'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 address_data(&self) -> Result<Vec<HashMap<String, OwnedValue>>>
pub async fn address_data(&self) -> Result<Vec<HashMap<String, OwnedValue>>>
AddressData property
Sourcepub fn cached_address_data(
&self,
) -> Result<Option<<Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Err>
pub fn cached_address_data( &self, ) -> Result<Option<<Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Err>
AddressData property
Get the cached value of the AddressData property, or None if the property is not cached.
Sourcepub async fn receive_address_data_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>
pub async fn receive_address_data_changed( &self, ) -> PropertyStream<'p, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>
AddressData property
Create a stream for the AddressData property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_addresses(
&self,
) -> Result<Option<<Result<Vec<Vec<u32>>> as ResultAdapter>::Ok>, <Result<Vec<Vec<u32>>> as ResultAdapter>::Err>
pub fn cached_addresses( &self, ) -> Result<Option<<Result<Vec<Vec<u32>>> as ResultAdapter>::Ok>, <Result<Vec<Vec<u32>>> as ResultAdapter>::Err>
Addresses property
Get the cached value of the Addresses property, or None if the property is not cached.
Sourcepub async fn receive_addresses_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<Vec<u32>>> as ResultAdapter>::Ok>
pub async fn receive_addresses_changed( &self, ) -> PropertyStream<'p, <Result<Vec<Vec<u32>>> as ResultAdapter>::Ok>
Addresses property
Create a stream for the Addresses property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn dns_options(&self) -> Result<Vec<String>>
pub async fn dns_options(&self) -> Result<Vec<String>>
DnsOptions property
Sourcepub fn cached_dns_options(
&self,
) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
pub fn cached_dns_options( &self, ) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
DnsOptions property
Get the cached value of the DnsOptions property, or None if the property is not cached.
Sourcepub async fn receive_dns_options_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub async fn receive_dns_options_changed( &self, ) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
DnsOptions property
Create a stream for the DnsOptions property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn dns_priority(&self) -> Result<i32>
pub async fn dns_priority(&self) -> Result<i32>
DnsPriority property
Sourcepub fn cached_dns_priority(
&self,
) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
pub fn cached_dns_priority( &self, ) -> Result<Option<<Result<i32> as ResultAdapter>::Ok>, <Result<i32> as ResultAdapter>::Err>
DnsPriority property
Get the cached value of the DnsPriority property, or None if the property is not cached.
Sourcepub async fn receive_dns_priority_changed(
&self,
) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
pub async fn receive_dns_priority_changed( &self, ) -> PropertyStream<'p, <Result<i32> as ResultAdapter>::Ok>
DnsPriority property
Create a stream for the DnsPriority property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_domains(
&self,
) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
pub fn cached_domains( &self, ) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
Domains property
Get the cached value of the Domains property, or None if the property is not cached.
Sourcepub async fn receive_domains_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub async fn receive_domains_changed( &self, ) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
Domains property
Create a stream for the Domains property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_gateway(
&self,
) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
pub fn cached_gateway( &self, ) -> Result<Option<<Result<String> as ResultAdapter>::Ok>, <Result<String> as ResultAdapter>::Err>
Gateway property
Get the cached value of the Gateway property, or None if the property is not cached.
Sourcepub async fn receive_gateway_changed(
&self,
) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
pub async fn receive_gateway_changed( &self, ) -> PropertyStream<'p, <Result<String> as ResultAdapter>::Ok>
Gateway property
Create a stream for the Gateway property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn nameserver_data(&self) -> Result<Vec<HashMap<String, OwnedValue>>>
pub async fn nameserver_data(&self) -> Result<Vec<HashMap<String, OwnedValue>>>
NameserverData property
Sourcepub fn cached_nameserver_data(
&self,
) -> Result<Option<<Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Err>
pub fn cached_nameserver_data( &self, ) -> Result<Option<<Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Err>
NameserverData property
Get the cached value of the NameserverData property, or None if the property is not cached.
Sourcepub async fn receive_nameserver_data_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>
pub async fn receive_nameserver_data_changed( &self, ) -> PropertyStream<'p, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>
NameserverData property
Create a stream for the NameserverData property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn nameservers(&self) -> Result<Vec<u32>>
pub async fn nameservers(&self) -> Result<Vec<u32>>
Nameservers property
Sourcepub fn cached_nameservers(
&self,
) -> Result<Option<<Result<Vec<u32>> as ResultAdapter>::Ok>, <Result<Vec<u32>> as ResultAdapter>::Err>
pub fn cached_nameservers( &self, ) -> Result<Option<<Result<Vec<u32>> as ResultAdapter>::Ok>, <Result<Vec<u32>> as ResultAdapter>::Err>
Nameservers property
Get the cached value of the Nameservers property, or None if the property is not cached.
Sourcepub async fn receive_nameservers_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u32>> as ResultAdapter>::Ok>
pub async fn receive_nameservers_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u32>> as ResultAdapter>::Ok>
Nameservers property
Create a stream for the Nameservers property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn route_data(&self) -> Result<Vec<HashMap<String, OwnedValue>>>
pub async fn route_data(&self) -> Result<Vec<HashMap<String, OwnedValue>>>
RouteData property
Sourcepub fn cached_route_data(
&self,
) -> Result<Option<<Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Err>
pub fn cached_route_data( &self, ) -> Result<Option<<Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Err>
RouteData property
Get the cached value of the RouteData property, or None if the property is not cached.
Sourcepub async fn receive_route_data_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>
pub async fn receive_route_data_changed( &self, ) -> PropertyStream<'p, <Result<Vec<HashMap<String, OwnedValue>>> as ResultAdapter>::Ok>
RouteData property
Create a stream for the RouteData property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_routes(
&self,
) -> Result<Option<<Result<Vec<Vec<u32>>> as ResultAdapter>::Ok>, <Result<Vec<Vec<u32>>> as ResultAdapter>::Err>
pub fn cached_routes( &self, ) -> Result<Option<<Result<Vec<Vec<u32>>> as ResultAdapter>::Ok>, <Result<Vec<Vec<u32>>> as ResultAdapter>::Err>
Routes property
Get the cached value of the Routes property, or None if the property is not cached.
Sourcepub async fn receive_routes_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<Vec<u32>>> as ResultAdapter>::Ok>
pub async fn receive_routes_changed( &self, ) -> PropertyStream<'p, <Result<Vec<Vec<u32>>> as ResultAdapter>::Ok>
Routes property
Create a stream for the Routes property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub fn cached_searches(
&self,
) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
pub fn cached_searches( &self, ) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
Searches property
Get the cached value of the Searches property, or None if the property is not cached.
Sourcepub async fn receive_searches_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub async fn receive_searches_changed( &self, ) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
Searches property
Create a stream for the Searches property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn wins_server_data(&self) -> Result<Vec<String>>
pub async fn wins_server_data(&self) -> Result<Vec<String>>
WinsServerData property
Sourcepub fn cached_wins_server_data(
&self,
) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
pub fn cached_wins_server_data( &self, ) -> Result<Option<<Result<Vec<String>> as ResultAdapter>::Ok>, <Result<Vec<String>> as ResultAdapter>::Err>
WinsServerData property
Get the cached value of the WinsServerData property, or None if the property is not cached.
Sourcepub async fn receive_wins_server_data_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
pub async fn receive_wins_server_data_changed( &self, ) -> PropertyStream<'p, <Result<Vec<String>> as ResultAdapter>::Ok>
WinsServerData property
Create a stream for the WinsServerData property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Sourcepub async fn wins_servers(&self) -> Result<Vec<u32>>
pub async fn wins_servers(&self) -> Result<Vec<u32>>
WinsServers property
Sourcepub fn cached_wins_servers(
&self,
) -> Result<Option<<Result<Vec<u32>> as ResultAdapter>::Ok>, <Result<Vec<u32>> as ResultAdapter>::Err>
pub fn cached_wins_servers( &self, ) -> Result<Option<<Result<Vec<u32>> as ResultAdapter>::Ok>, <Result<Vec<u32>> as ResultAdapter>::Err>
WinsServers property
Get the cached value of the WinsServers property, or None if the property is not cached.
Sourcepub async fn receive_wins_servers_changed(
&self,
) -> PropertyStream<'p, <Result<Vec<u32>> as ResultAdapter>::Ok>
pub async fn receive_wins_servers_changed( &self, ) -> PropertyStream<'p, <Result<Vec<u32>> as ResultAdapter>::Ok>
WinsServers property
Create a stream for the WinsServers property changes. This is a convenient wrapper around zbus::Proxy::receive_property_changed.
Trait Implementations§
Source§impl<'p> AsMut<Proxy<'p>> for IP4ConfigProxy<'p>
impl<'p> AsMut<Proxy<'p>> for IP4ConfigProxy<'p>
Source§impl<'p> AsRef<Proxy<'p>> for IP4ConfigProxy<'p>
impl<'p> AsRef<Proxy<'p>> for IP4ConfigProxy<'p>
Source§impl<'p> Clone for IP4ConfigProxy<'p>
impl<'p> Clone for IP4ConfigProxy<'p>
Source§fn clone(&self) -> IP4ConfigProxy<'p>
fn clone(&self) -> IP4ConfigProxy<'p>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more