use zbus::{proxy, zvariant::OwnedObjectPath};
#[proxy(
default_service = "org.freedesktop.NetworkManager",
interface = "org.freedesktop.NetworkManager.Device.Hsr"
)]
pub(crate) trait DeviceHsr {
#[zbus(property)]
fn port1(&self) -> zbus::Result<OwnedObjectPath>;
#[zbus(property)]
fn port2(&self) -> zbus::Result<OwnedObjectPath>;
#[zbus(property)]
fn supervision_address(&self) -> zbus::Result<String>;
#[zbus(property)]
fn prp(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn multicast_spec(&self) -> zbus::Result<u8>;
#[zbus(property)]
fn protocol(&self) -> zbus::Result<String>;
}