Type Alias tcp_stream::RustlsHandshakeError

source ·
pub type RustlsHandshakeError = HandshakeError<TcpStream>;
Expand description

A HandshakeError from rustls-connector

Aliased Type§

enum RustlsHandshakeError {
    WouldBlock(Box<MidHandshakeTlsStream<TcpStream>>),
    Failure(Error),
}

Variants§

§

WouldBlock(Box<MidHandshakeTlsStream<TcpStream>>)

We hit WouldBlock during handshake. Note that this is not a critical failure, you should be able to call handshake again once the stream is ready to perform I/O.

§

Failure(Error)

We hit a critical failure.