feat: zbus 4.2.1 update
This commit is contained in:
parent
ce9c789fe6
commit
f05789c4ce
42 changed files with 390 additions and 389 deletions
|
|
@ -20,74 +20,74 @@
|
|||
//!
|
||||
//! …consequently `zbus-xmlgen` did not generate code for the above interfaces.
|
||||
|
||||
use zbus::dbus_proxy;
|
||||
use zbus::proxy;
|
||||
|
||||
#[dbus_proxy(
|
||||
#[proxy(
|
||||
interface = "org.freedesktop.NetworkManager.Connection.Active",
|
||||
default_service = "org.freedesktop.NetworkManager"
|
||||
)]
|
||||
pub trait ActiveConnection {
|
||||
/// Connection property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn connection_(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
|
||||
|
||||
/// Default property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn default(&self) -> zbus::Result<bool>;
|
||||
|
||||
/// Default6 property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn default6(&self) -> zbus::Result<bool>;
|
||||
|
||||
/// Devices property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn devices(&self) -> zbus::Result<Vec<zbus::zvariant::OwnedObjectPath>>;
|
||||
|
||||
/// Dhcp4Config property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn dhcp4_config(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
|
||||
|
||||
/// Dhcp6Config property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn dhcp6_config(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
|
||||
|
||||
/// Id property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn id(&self) -> zbus::Result<String>;
|
||||
|
||||
/// Ip4Config property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn ip4_config(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
|
||||
|
||||
/// Ip6Config property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn ip6_config(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
|
||||
|
||||
/// Master property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn master(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
|
||||
|
||||
/// SpecificObject property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn specific_object(&self) -> zbus::Result<zbus::zvariant::OwnedObjectPath>;
|
||||
|
||||
/// State property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn state(&self) -> zbus::Result<u32>;
|
||||
|
||||
/// StateFlags property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn state_flags(&self) -> zbus::Result<u32>;
|
||||
|
||||
/// Type property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn type_(&self) -> zbus::Result<String>;
|
||||
|
||||
/// Uuid property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn uuid(&self) -> zbus::Result<String>;
|
||||
|
||||
/// Vpn property
|
||||
#[dbus_proxy(property)]
|
||||
#[zbus(property)]
|
||||
fn vpn(&self) -> zbus::Result<bool>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue