pub async fn versions( __arg0: State<ApiState>, request: Request, next: Next, ) -> Response
Middleware: refuses clients of another major version and adds the server’s version.