The request-shape failure for a route that advertises no writable protocol. Shared by the empty-probe guard and the all-probes-failed fallback so the otherwise-unreachable terminal case is a value rather than a panic.
(route: &ResolvedRoute)
| 446 | /// Shared by the empty-probe guard and the all-probes-failed fallback so the |
| 447 | /// otherwise-unreachable terminal case is a value rather than a panic. |
| 448 | fn no_writable_protocol_failure(route: &ResolvedRoute) -> ValidationFailure { |
| 449 | ValidationFailure { |
| 450 | kind: ValidationFailureKind::RequestShape, |
| 451 | details: format!( |
| 452 | "route '{}' does not expose a writable inference protocol for validation", |
| 453 | route.name |
| 454 | ), |
| 455 | } |
| 456 | } |
| 457 | |
| 458 | pub async fn verify_backend_endpoint( |
| 459 | client: &reqwest::Client, |
no outgoing calls
no test coverage detected