Loading openssl/src/ssl/error.rs +9 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,15 @@ impl Error { } } impl From<ErrorStack> for Error { fn from(e: ErrorStack) -> Error { Error { code: ErrorCode::SSL, cause: Some(InnerError::Ssl(e)), } } } impl fmt::Display for Error { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { match self.code { Loading Loading
openssl/src/ssl/error.rs +9 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,15 @@ impl Error { } } impl From<ErrorStack> for Error { fn from(e: ErrorStack) -> Error { Error { code: ErrorCode::SSL, cause: Some(InnerError::Ssl(e)), } } } impl fmt::Display for Error { fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result { match self.code { Loading