pub trait ServiceDaemon<T>: Send + Syncwhere
    T: Service,{
    // Required method
    fn start<'life0, 'async_trait>(
        &'life0 self,
        service: Arc<T>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn start<'life0, 'async_trait>( &'life0 self, service: Arc<T> ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§