We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3519796 commit e094ce6Copy full SHA for e094ce6
1 file changed
src/io/openssl.rs
@@ -16,7 +16,8 @@ impl StreamWrapper for SslStream<Stream> {
16
}
17
18
impl NegotiateSsl for SslContext {
19
- fn negotiate_ssl(&self, _: &str, stream: Stream) -> Result<Box<StreamWrapper>, Box<Error>> {
+ fn negotiate_ssl(&self, _: &str, stream: Stream)
20
+ -> Result<Box<StreamWrapper>, Box<Error+Send+Sync>> {
21
let stream = try!(SslStream::new(self, stream));
22
Ok(Box::new(stream))
23
0 commit comments