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