use zbus::proxy;
#[proxy(
interface = "org.freedesktop.NetworkManager.Device.Wired",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait Wired {
#[zbus(property)]
fn carrier(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn hw_address(&self) -> zbus::Result<String>;
#[zbus(property)]
fn perm_hw_address(&self) -> zbus::Result<String>;
#[zbus(property, name = "S390Subchannels")]
fn s390subchannels(&self) -> zbus::Result<Vec<String>>;
#[zbus(property)]
fn speed(&self) -> zbus::Result<u32>;
}