feat: zbus 4.2.1 update

This commit is contained in:
Ashley Wulber 2024-05-16 15:24:53 -04:00 committed by GitHub
parent ce9c789fe6
commit f05789c4ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 390 additions and 389 deletions

View file

@ -11,22 +11,22 @@
//! section of the zbus documentation.
//!
use zbus::dbus_proxy;
use zbus::proxy;
#[dbus_proxy(
#[proxy(
interface = "org.freedesktop.NetworkManager.Device.Bluetooth",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait BluetoothDevice {
/// BtCapabilities property
#[dbus_proxy(property)]
#[zbus(property)]
fn bt_capabilities(&self) -> zbus::Result<u32>;
/// HwAddress property
#[dbus_proxy(property)]
#[zbus(property)]
fn hw_address(&self) -> zbus::Result<String>;
/// Name property
#[dbus_proxy(property)]
#[zbus(property)]
fn name(&self) -> zbus::Result<String>;
}