use zbus::proxy;
use zbus::zvariant::OwnedObjectPath;
#[proxy(
interface = "org.freedesktop.NetworkManager.Device.Macsec",
default_service = "org.freedesktop.NetworkManager"
)]
pub trait Macsec {
#[zbus(property)]
fn parent(&self) -> zbus::Result<OwnedObjectPath>;
#[zbus(property)]
fn sci(&self) -> zbus::Result<u64>;
#[zbus(property)]
fn icv_length(&self) -> zbus::Result<u8>;
#[zbus(property)]
fn cipher_suite(&self) -> zbus::Result<u64>;
#[zbus(property)]
fn window(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn encoding_sa(&self) -> zbus::Result<u8>;
#[zbus(property)]
fn validation(&self) -> zbus::Result<String>;
#[zbus(property)]
fn encrypt(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn protect(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn include_sci(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn es(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn scb(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn replay_protect(&self) -> zbus::Result<bool>;
}