sysd_manager_comcontroler/
manager.rs

1use zbus::proxy;
2use zvariant::OwnedObjectPath;
3#[proxy(
4    interface = "org.freedesktop.systemd1.Manager",
5    default_service = "io.github.plrigaux.SysDManager",
6    default_path = "/org/freedesktop/systemd1"
7)]
8pub trait Manager {
9    fn start_unit(&self, unit: &str, mode: &str) -> zbus::fdo::Result<OwnedObjectPath>;
10}