feat(transport-smtp): Add derives to SecurityLevel

This commit is contained in:
Stéphan Kochen
2016-10-22 19:27:27 +02:00
parent 747d8cabc5
commit d50bb404b9

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
///