tokio-xmpp: Document TlsStream type behind 'ktls' feature
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
e526b49636
commit
db0ce5859b
2 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
|
|||
- `rustls` is now re-exported if it is enabled, to allow applications to
|
||||
set the default crypto provider if needed. (!581)
|
||||
- Derive Debug on Client and associated structs
|
||||
- Document TlsStream behind 'ktls' feature
|
||||
* Changes:
|
||||
- On Linux, once the TLS session is established, we can delegate the
|
||||
actual encryption and decryption to the kernel, which in turn can
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ use {
|
|||
pub use tokio_rustls::client::TlsStream;
|
||||
|
||||
#[cfg(all(feature = "ktls", not(feature = "native-tls")))]
|
||||
/// Tls Stream type based on Ktls
|
||||
pub type TlsStream<S> = ktls::KtlsStream<S>;
|
||||
|
||||
#[cfg(feature = "native-tls")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue