(&self, status_code: StatusCode)
| 423 | } |
| 424 | |
| 425 | pub fn add_failure_response_code(&self, status_code: StatusCode) { |
| 426 | self.state.failure_response_codes.lock().push(status_code); |
| 427 | } |
| 428 | |
| 429 | pub async fn new_otlp(name: &str, bind_resolver: Arc<dyn BindResolver>) -> Self { |
| 430 | Self::new(name, bind_resolver, move |headers, body| { |
no test coverage detected