Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b171da3 commit b9b3f47Copy full SHA for b9b3f47
tokio-postgres/src/tls/mod.rs
@@ -32,7 +32,7 @@ impl TlsStream for Stream {
32
pub trait Handshake: 'static + Sync + Send {
33
/// Performs a TLS handshake, returning a wrapped stream.
34
fn handshake(
35
- self: Box<Self>,
+ &self,
36
host: &str,
37
stream: Stream,
38
) -> Box<Future<Item = Box<TlsStream>, Error = Box<Error + Sync + Send>> + Send>;
tokio-postgres/src/tls/openssl.rs
@@ -40,7 +40,7 @@ impl From<SslConnector> for OpenSsl {
40
41
impl Handshake for OpenSsl {
42
43
44
45
46
) -> Box<Future<Item = Box<TlsStream>, Error = Box<Error + Sync + Send>> + Send> {
0 commit comments