Skip to main content

Crate compio_tls

Crate compio_tls 

Source
Expand description

TLS streams.

Re-exports§

pub use compio_py_dynamic_openssl as py_dynamic_openssl;py-dynamic-openssl
pub use native_tls;native-tls
pub use rustls;rustls

Structs§

LazyConfigAcceptorrustls
A lazy TLS acceptor that performs the initial handshake and allows access to the ClientHello message before completing the handshake.
MaybeTlsStream
Stream that can be either plain TCP or TLS-encrypted, with compatibility for futures_util.
StartHandshakerustls
A TLS acceptor that has completed the initial handshake and allows access to the ClientHello message.
TlsAcceptor
A wrapper around a native_tls::TlsAcceptor or rustls::ServerConfig, providing an async accept method.
TlsConnector
A wrapper around a native_tls::TlsConnector or rustls::ClientConfig, providing an async connect method.
TlsStream
A wrapper around an underlying raw stream which implements the TLS or SSL protocol.