pub trait ServiceBuilder {
    // Required method
    fn build<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = StdResult<SignerServices>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

The ServiceBuilder is intended to manage Services instance creation. The goal of this is to put all this code out of the way of business code.

Required Methods§

source

fn build<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = StdResult<SignerServices>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Create a SignerService instance.

Implementors§