#[non_exhaustive]pub enum TransportFailureKind {
Connect,
Tls,
Protocol,
Cancelled,
}Expand description
Generic transport-failure classification for native embedders.
This is a diagnostic-only fact surface. It does not imply retryability and
does not replace Error::kind, Error::is_physical_connection_admission_timeout,
Error::is_transport_io_timeout, Error::custom_transport_error, or
RequestFailure::network_failure_kind. Unknown or ambiguous evidence
maps to None; classification never parses Display/Debug text and
never exposes URLs, credentials, bodies, or nested error strings.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Connect
Typed evidence proves connection establishment failed and no more specific TLS/cancellation/protocol category applies.
Tls
TLS configuration, handshake, verification, or nested rustls processing failed.
Protocol
Typed HTTP framing/protocol failure, including Hyper parse/incomplete-message termination where proven.
Cancelled
Typed evidence says the transport/request was cancelled before normal completion.