http: Expand type names for openssl related errors documentation

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2019-05-02 21:55:59 -03:00
parent dc1cd9d2d0
commit 9448fdf261
1 changed files with 2 additions and 2 deletions

View File

@ -150,11 +150,11 @@ impl ResponseError for FormError {}
impl ResponseError for TimerError {} impl ResponseError for TimerError {}
#[cfg(feature = "ssl")] #[cfg(feature = "ssl")]
/// `InternalServerError` for `SslError` /// `InternalServerError` for `openssl::ssl::Error`
impl ResponseError for openssl::ssl::Error {} impl ResponseError for openssl::ssl::Error {}
#[cfg(feature = "ssl")] #[cfg(feature = "ssl")]
/// `InternalServerError` for `SslError` /// `InternalServerError` for `openssl::ssl::HandshakeError`
impl ResponseError for openssl::ssl::HandshakeError<tokio_tcp::TcpStream> {} impl ResponseError for openssl::ssl::HandshakeError<tokio_tcp::TcpStream> {}
/// Return `BAD_REQUEST` for `de::value::Error` /// Return `BAD_REQUEST` for `de::value::Error`