Very basic NetworkManager bindings

This commit is contained in:
Lucy 2022-01-11 15:23:09 -05:00
parent cff3029833
commit 91a7fc6da1
No known key found for this signature in database
GPG key ID: EBC517FAD666BBF1
7 changed files with 97 additions and 1 deletions

View file

@ -17,7 +17,7 @@ use zbus::dbus_proxy;
interface = "org.freedesktop.NetworkManager.Device.Bluetooth",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait Bluetooth {
pub trait BluetoothDevice {
/// BtCapabilities property
#[dbus_proxy(property)]
fn bt_capabilities(&self) -> zbus::Result<u32>;