pub trait ServiceManager {
// Required methods
fn install(&self) -> Result<()>;
fn uninstall(&self) -> Result<()>;
fn start(&self) -> Result<()>;
fn stop(&self) -> Result<()>;
fn status(&self) -> Result<ServiceStatus>;
}pub trait ServiceManager {
// Required methods
fn install(&self) -> Result<()>;
fn uninstall(&self) -> Result<()>;
fn start(&self) -> Result<()>;
fn stop(&self) -> Result<()>;
fn status(&self) -> Result<ServiceStatus>;
}