Function grpc_serve_tcp

Source
pub async fn grpc_serve_tcp<S>(
    context: &mut ServiceContext,
    addr: SocketAddr,
    svc: S,
    timeout: u64,
)
where S: Service<Request<Body>, Response = Response<BoxBody>, Error = Infallible> + NamedService + Clone + Send + 'static, S::Future: Send + 'static,