Expand description
TLS-wrapped TCP sources and sinks.
TokioTls mirrors the shape of datum::TokioTcp, but wraps each TCP
byte stream in a tokio-rustls TLS client or server session. Callers supply
their own rustls client/server configs so certificate policy stays explicit.
Re-exports§
pub use tokio_rustls::rustls;
Structs§
- TlsBinding
- A materialized TLS listener binding.
- TlsCarrier
Diagnostic Counts - Snapshot of TLS listener resilience counters.
- TlsCarrier
Diagnostics - Shared collector for TLS listener resilience counters.
- TlsConnection
- A materialized TLS connection.
- TlsIncoming
Connection - A TLS connection accepted by
TokioTls::bind. - Tokio
Tls - TLS-over-TCP stream entry points.
Type Aliases§
- Tls
- Alias for
TokioTls. - TlsByte
Sink - TLS byte sink used by accepted and outgoing TLS connections.
- TlsByte
Source - TLS byte source used by accepted and outgoing TLS connections.