pub trait ServiceBuilder<T: Service, D: ServiceDaemon<T>>: Send + Sync {
    // Required method
    fn build<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<(T, Option<D>)>> + Send + 'async_trait>>
       where Self: 'async_trait;
}

Required Methods§

source

fn build<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<(T, Option<D>)>> + Send + 'async_trait>>where Self: 'async_trait,

Implementors§