Function massa_grpc::server::serve

source ยท
async fn serve<S>(
    service: S,
    config: &GrpcConfig,
) -> Result<StopHandle, GrpcError>
where S: Service<Request<BoxBody>, Response = Response<BoxBody>, Error = Infallible> + NamedService + Clone + Send + 'static, S::Future: Send + 'static,