From 36d1ab22f1b4f55d0c8594ce36d31b1f05e6719e Mon Sep 17 00:00:00 2001 From: hansolshin Date: Mon, 22 Feb 2021 07:13:37 -0500 Subject: [PATCH] Add #[derive(Debug)] to Stream --- src/stream.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stream.rs b/src/stream.rs index c183d8a..a26b664 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -9,6 +9,7 @@ use std::task::{Context, Poll}; use futures_io::{AsyncRead, AsyncWrite}; /// Stream, either plain TCP or TLS. +#[derive(Debug)] pub enum Stream { /// Unencrypted socket stream. Plain(S),