1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-24 02:21:07 +01:00

add Hash impl

This commit is contained in:
Nikolay Kim 2018-10-29 13:27:00 -07:00
parent e1418018c6
commit c15e4b92a8

View File

@ -40,7 +40,7 @@ impl From<ResolverError> for ConnectorError {
} }
} }
#[derive(Eq, PartialEq, Debug)] #[derive(Eq, PartialEq, Debug, Hash)]
pub struct Connect { pub struct Connect {
pub host: String, pub host: String,
pub port: u16, pub port: u16,