use zbus::{proxy, zvariant::OwnedObjectPath};
#[proxy(
default_service = "org.freedesktop.NetworkManager",
interface = "org.freedesktop.NetworkManager.Device.Ipvlan"
)]
pub(crate) trait DeviceIpvlan {
#[zbus(property)]
fn parent(&self) -> zbus::Result<OwnedObjectPath>;
#[zbus(property)]
fn hw_address(&self) -> zbus::Result<String>;
#[zbus(property)]
fn mode(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn private(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn vepa(&self) -> zbus::Result<bool>;
}