diff --git a/src/stream.rs b/src/stream.rs index 0d65661..1c3fa07 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -14,6 +14,7 @@ use tokio::io::{AsyncRead, AsyncWrite, ReadBuf}; /// A stream that might be protected with TLS. #[non_exhaustive] #[pin_project(project = StreamProj)] +#[derive(Debug)] pub enum MaybeTlsStream { /// Unencrypted socket stream. Plain(#[pin] S),