Merge pull request #99 from stephank/master

Implement basic traits for SecurityLevel.
This commit is contained in:
Alexis Mousset
2016-10-22 19:42:44 +02:00
committed by GitHub

View File

@@ -46,7 +46,7 @@ pub const MESSAGE_ENDING: &'static str = "\r\n.\r\n";
pub const NUL: &'static str = "\0";
/// TLS security level
#[derive(Debug)]
#[derive(PartialEq,Eq,Copy,Clone,Debug)]
pub enum SecurityLevel {
/// Use a TLS wrapped connection
///