Function massa_grpc::server::serve

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