use zbus::proxy;
#[proxy(
default_service = "org.freedesktop.NetworkManager",
interface = "org.freedesktop.NetworkManager.Device.Tun"
)]
pub(crate) trait DeviceTun {
#[zbus(property)]
fn hw_address(&self) -> zbus::Result<String>;
#[zbus(property)]
fn mode(&self) -> zbus::Result<String>;
#[zbus(property)]
fn owner(&self) -> zbus::Result<i64>;
#[zbus(property)]
fn group(&self) -> zbus::Result<i64>;
#[zbus(property)]
fn no_pi(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn vnet_hdr(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn multi_queue(&self) -> zbus::Result<bool>;
}