Skip to content

Commit d07f09a

Browse files
authored
fix: expose intermediate future types
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
1 parent fe92086 commit d07f09a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/client.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! The client end of a TLS connection.
2+
13
use crate::common::tls_state::TlsState;
24
use crate::rusttls::stream::Stream;
35
use futures::io::{AsyncRead, AsyncWrite};

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ mod connector;
99
mod rusttls;
1010
pub mod server;
1111

12-
pub use acceptor::TlsAcceptor;
13-
pub use connector::TlsConnector;
12+
pub use acceptor::{Accept, TlsAcceptor};
13+
pub use connector::{Connect, TlsConnector};
1414

1515
#[cfg(feature = "early-data")]
1616
#[cfg(test)]

src/server.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! The server end of a TLS connection.
2+
13
use crate::common::tls_state::TlsState;
24
use crate::rusttls::stream::Stream;
35

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