This is just like 'parse_default_aws_privatelink_' except it supports more PrivateLink options.
(&mut self)
| 2702 | |
| 2703 | /// This is just like 'parse_default_aws_privatelink_' except it supports more PrivateLink options. |
| 2704 | fn parse_aws_privatelink(&mut self) -> Result<KafkaBrokerAwsPrivatelink<Raw>, ParserError> { |
| 2705 | let connection = self.parse_raw_name()?; |
| 2706 | let options = if self.consume_token(&Token::LParen) { |
| 2707 | let options = |
| 2708 | self.parse_comma_separated(Parser::parse_kafka_broker_aws_privatelink_option)?; |
| 2709 | self.expect_token(&Token::RParen)?; |
| 2710 | options |
| 2711 | } else { |
| 2712 | vec![] |
| 2713 | }; |
| 2714 | Ok(KafkaBrokerAwsPrivatelink { |
| 2715 | connection, |
| 2716 | options, |
| 2717 | }) |
| 2718 | } |
| 2719 | |
| 2720 | fn parse_connection_rule_pattern(&mut self) -> Result<ConnectionRulePattern, ParserError> { |
| 2721 | let s = self.parse_literal_string()?; |
no test coverage detected