Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 13fd950

Browse files
dvicjbg
authored andcommitted
indicate that future of TlsConnect is Send
1 parent 7f7e379 commit 13fd950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ where
5858
{
5959
type Stream = RustlsStream<S>;
6060
type Error = io::Error;
61-
type Future = Pin<Box<dyn Future<Output = io::Result<RustlsStream<S>>>>>;
61+
type Future = Pin<Box<dyn Future<Output = io::Result<RustlsStream<S>>> + Send>>;
6262

6363
fn connect(self, stream: S) -> Self::Future {
6464
self.connector

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy