From bed60c753d648a4e40b4f1c39a6197a7dcdd7f80 Mon Sep 17 00:00:00 2001 From: Syed Ahkam Date: Thu, 10 Jun 2021 15:39:16 +0000 Subject: [PATCH] Derive `Debug` trait for `MaybeTlsStream` --- src/stream.rs | 1 + 1 file changed, 1 insertion(+) 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),