Make TlsConnect Sync and Send

Closes #382
This commit is contained in:
Steven Fackler 2018-10-27 16:31:51 -07:00
parent dbc6bf24e4
commit 04bd98e7ed

View File

@ -50,7 +50,7 @@ impl AsyncWrite for Socket {
}
}
pub trait TlsConnect {
pub trait TlsConnect: Sync + Send {
fn connect(
&self,
domain: &str,