Skip to main content

Module tls_handshake_error_kind

Module tls_handshake_error_kind 

Available on crate features boring and dial9 only.
Expand description

Error category for TlsHandshakeFailed::error_kind. Encoded as u32 because dial9 trace fields are primitives; the named variants here are the only valid values.

Constants§

BUILDER
TlsConnectError::Builder(_) — builder failed before the handshake started.
HANDSHAKE_IO
Handshake failed with an underlying std::io::Error. Inspect io_error_kind for the encoded ErrorKind.
HANDSHAKE_OTHER
Handshake failed without an io::Error or SSL stack — fallback catch-all. Should be rare.
HANDSHAKE_SSL_STACK
Handshake failed with an OpenSSL/BoringSSL error stack. Inspect the structured error from the call site for diagnostics.