Enum openssl::ssl::HandshakeError
[−]
[src]
pub enum HandshakeError<S> { SetupFailure(ErrorStack), Failure(MidHandshakeSslStream<S>), Interrupted(MidHandshakeSslStream<S>), }
An error or intermediate state after a TLS handshake attempt.
Variants
SetupFailure(ErrorStack)
Setup failed.
Failure(MidHandshakeSslStream<S>)
The handshake failed.
Interrupted(MidHandshakeSslStream<S>)
The handshake was interrupted midway through.
Trait Implementations
impl<S: Debug> Debug for HandshakeError<S>
[src]
impl<S: Any + Debug> StdError for HandshakeError<S>
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl<S: Any + Debug> Display for HandshakeError<S>
[src]
impl<S> From<ErrorStack> for HandshakeError<S>
[src]
fn from(e: ErrorStack) -> HandshakeError<S>
Performs the conversion.