use zbus::proxy;
#[proxy(
interface = "org.freedesktop.NetworkManager.Device.Tun",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait Tun {
#[zbus(property)]
fn owner(&self) -> zbus::Result<i64>;
#[zbus(property)]
fn group(&self) -> zbus::Result<i64>;
#[zbus(property)]
fn mode(&self) -> zbus::Result<u32>;
#[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>;
#[zbus(property)]
fn hw_address(&self) -> zbus::Result<String>;
}