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. This error will never be returned for blocking streams.
Trait Implementations
impl<S: Debug> Debug for HandshakeError<S>
[src]
impl<S: Any + Debug> StdError for HandshakeError<S>
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more
impl<S: Any + Debug> Display for HandshakeError<S>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<S> From<ErrorStack> for HandshakeError<S>
[src]
fn from(e: ErrorStack) -> HandshakeError<S>
[src]
Performs the conversion.