use zbus::proxy;
use crate::PathWatch;
#[proxy(
interface = "org.freedesktop.systemd1.Path",
default_service = "org.freedesktop.systemd1"
)]
pub trait Path {
#[zbus(property)]
fn directory_mode(&self) -> zbus::Result<u32>;
#[zbus(property)]
fn make_directory(&self) -> zbus::Result<bool>;
#[zbus(property)]
fn paths(&self) -> zbus::Result<Vec<PathWatch>>;
#[zbus(property)]
fn result(&self) -> zbus::Result<String>;
#[zbus(property)]
fn trigger_limit_burst(&self) -> zbus::Result<u32>;
#[zbus(property, name = "TriggerLimitIntervalUSec")]
fn trigger_limit_interval_usec(&self) -> zbus::Result<u64>;
#[zbus(property)]
fn unit(&self) -> zbus::Result<String>;
}