Add #[derive(Debug)] to Stream

This commit is contained in:
hansolshin 2021-02-22 07:13:37 -05:00 committed by Sebastian Dröge
parent 1170f4e080
commit 36d1ab22f1
1 changed files with 1 additions and 0 deletions

View File

@ -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<S, T> {
/// Unencrypted socket stream.
Plain(S),