Trait xecute::Daemon [−][src]
pub trait Daemon { type Config; fn load_config(&self, path_maybe: &Option<PathBuf>) -> Result<Self::Config>; fn start<'life0, 'async_trait>(
&'life0 mut self,
cfg: Self::Config
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn stop<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }