Enum amq_protocol_tcp::HandshakeError [−][src]
pub enum HandshakeError {
WouldBlock(MidHandshakeTlsStream),
Failure(Error),
}
Expand description
Re-export TcpStream An error returned while performing the handshake
Variants
WouldBlock(MidHandshakeTlsStream)
Tuple Fields
We hit WouldBlock during handshake
Failure(Error)
Tuple Fields
0: Error
We hit a critical failure
Implementations
Re-export TcpStream
Try and get the inner mid handshake TLS stream from this error
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for HandshakeError
impl Send for HandshakeError
impl Sync for HandshakeError
impl Unpin for HandshakeError
impl !UnwindSafe for HandshakeError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more