Type Alias amq_protocol_tcp::HandshakeResult

source ·
pub type HandshakeResult = Result<TcpStream, HandshakeError>;
Expand description

Re-export TcpStream Holds either the TLS TcpStream result or the current handshake state

Aliased Type§

enum HandshakeResult {
    Ok(TcpStream),
    Err(HandshakeError),
}

Variants§

§1.0.0

Ok(TcpStream)

Contains the success value

§1.0.0

Err(HandshakeError)

Contains the error value