[][src]Function sc_service::build

pub fn build<TBl, TBackend, TImpQu, TExPool, TRpc, TCl>(
    builder: ServiceParams<TBl, TCl, TImpQu, TExPool, TRpc, TBackend>
) -> Result<ServiceComponents<TBl, TBackend, TCl>, Error> where
    TCl: ProvideRuntimeApi<TBl> + HeaderMetadata<TBl, Error = Error> + Chain<TBl> + BlockBackend<TBl> + BlockIdTo<TBl, Error = Error> + ProofProvider<TBl> + HeaderBackend<TBl> + BlockchainEvents<TBl> + ExecutorProvider<TBl> + UsageProvider<TBl> + StorageProvider<TBl, TBackend> + CallApiAt<TBl, Error = Error> + Send + 'static,
    <TCl as ProvideRuntimeApi<TBl>>::Api: Metadata<TBl> + OffchainWorkerApi<TBl> + TaggedTransactionQueue<TBl> + SessionKeys<TBl> + ApiErrorExt<Error = Error> + ApiExt<TBl, StateBackend = TBackend::State>,
    TBl: BlockT,
    TBackend: 'static + Backend<TBl> + Send,
    TImpQu: 'static + ImportQueue<TBl>,
    TExPool: MaintainedTransactionPool<Block = TBl, Hash = <TBl as BlockT>::Hash> + MallocSizeOfWasm + 'static,
    TRpc: RpcExtension<Metadata>, 

Put together the components of a service from the parameters.