Trait ServiceStateActions
Source pub trait ServiceStateActions {
Show 13 methods
// Required methods
fn bin_path<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PathBuf> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn build_upgrade_install_context<'life0, 'async_trait>(
&'life0 self,
options: UpgradeOptions,
) -> Pin<Box<dyn Future<Output = Result<ServiceInstallCtx>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn data_dir_path<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PathBuf> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn is_user_mode<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn log_dir_path<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = PathBuf> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn name<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn pid<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Option<u32>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn on_remove<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn on_start<'life0, 'async_trait>(
&'life0 self,
pid: Option<u32>,
full_refresh: bool,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn on_stop<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_version<'life0, 'life1, 'async_trait>(
&'life0 self,
version: &'life1 str,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn status<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ServiceStatus> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn version<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}