use zbus::proxy;
use zvariant::OwnedObjectPath;
#[proxy(
interface = "org.freedesktop.NetworkManager.Settings",
default_service = "org.freedesktop.NetworkManager",
default_path = "/org/freedesktop/NetworkManager/Settings"
)]
pub trait NMSettings {
fn list_connections(&self) -> zbus::Result<Vec<OwnedObjectPath>>;
fn get_connection_by_uuid(&self, uuid: &str) -> zbus::Result<OwnedObjectPath>;
fn reload_connections(&self) -> zbus::Result<bool>;
}