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
|
|
@ -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