Enum ntex::connect::openssl::HandshakeError [−][src]
pub enum HandshakeError<S> {
SetupFailure(ErrorStack),
Failure(MidHandshakeSslStream<S>),
WouldBlock(MidHandshakeSslStream<S>),
}
Expand description
An error or intermediate state after a TLS handshake attempt.
Variants
SetupFailure(ErrorStack)
Tuple Fields
0: ErrorStack
Setup failed.
Failure(MidHandshakeSslStream<S>)
Tuple Fields
0: MidHandshakeSslStream<S>
The handshake failed.
WouldBlock(MidHandshakeSslStream<S>)
Tuple Fields
0: MidHandshakeSslStream<S>
The handshake encountered a WouldBlock
error midway through.
This error will never be returned for blocking streams.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl<S> !RefUnwindSafe for HandshakeError<S>
impl<S> Send for HandshakeError<S> where
S: Send,
impl<S> Sync for HandshakeError<S> where
S: Sync,
impl<S> Unpin for HandshakeError<S> where
S: Unpin,
impl<S> !UnwindSafe for HandshakeError<S>
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