Merge pull request #150 from gkoz/show_debug
Derive Debug instead of deprecated Show
This commit is contained in:
commit
94ff4cc7ae
|
|
@ -10,7 +10,7 @@ use std::old_io::IoError;
|
||||||
use ffi;
|
use ffi;
|
||||||
|
|
||||||
/// An SSL error
|
/// An SSL error
|
||||||
#[derive(Show, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub enum SslError {
|
pub enum SslError {
|
||||||
/// The underlying stream reported an error
|
/// The underlying stream reported an error
|
||||||
StreamError(IoError),
|
StreamError(IoError),
|
||||||
|
|
@ -44,7 +44,7 @@ impl error::Error for SslError {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An error from the OpenSSL library
|
/// An error from the OpenSSL library
|
||||||
#[derive(Show, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub enum OpensslError {
|
pub enum OpensslError {
|
||||||
/// An unknown error
|
/// An unknown error
|
||||||
UnknownError {
|
UnknownError {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue