diff options
| author | Steven Fackler <[email protected]> | 2014-08-10 13:06:02 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-08-10 13:06:21 -0700 |
| commit | 39343df472b4b0c99055d371f42beceeef527bd6 (patch) | |
| tree | d360b2ca79079b7e1fd69b2f288b304fa3fb2370 /src | |
| parent | Merge pull request #31 from yjerem/master (diff) | |
| download | rust-openssl-39343df472b4b0c99055d371f42beceeef527bd6.tar.xz rust-openssl-39343df472b4b0c99055d371f42beceeef527bd6.zip | |
Derive thigs for error types
Diffstat (limited to 'src')
| -rw-r--r-- | src/ssl/error.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ssl/error.rs b/src/ssl/error.rs index dd387e2f..9af14dd9 100644 --- a/src/ssl/error.rs +++ b/src/ssl/error.rs @@ -4,7 +4,7 @@ use std::io::IoError; use ssl::ffi; /// An SSL error -#[deriving(Show)] +#[deriving(Show, Clone, PartialEq, Eq)] pub enum SslError { /// The underlying stream has reported an error StreamError(IoError), @@ -15,7 +15,7 @@ pub enum SslError { } /// An error from the OpenSSL library -#[deriving(Show)] +#[deriving(Show, Clone, PartialEq, Eq)] pub enum OpensslError { /// An unknown error UnknownError { |