diff --git a/tokio-rustls/src/lib.rs b/tokio-rustls/src/lib.rs index 29af923..8f07b58 100644 --- a/tokio-rustls/src/lib.rs +++ b/tokio-rustls/src/lib.rs @@ -194,6 +194,7 @@ impl Future for FailableAccept { /// /// This abstracts over the inner `client::TlsStream` and `server::TlsStream`, so you can use /// a single type to keep both client- and server-initiated TLS-encrypted connections. +#[derive(Debug)] pub enum TlsStream { Client(client::TlsStream), Server(server::TlsStream),