Add #[derive(Debug)] to Stream

pull/85/head
hansolshin 4 years ago committed by Sebastian Dröge
parent 1170f4e080
commit 36d1ab22f1
  1. 1
      src/stream.rs

@ -9,6 +9,7 @@ use std::task::{Context, Poll};
use futures_io::{AsyncRead, AsyncWrite}; use futures_io::{AsyncRead, AsyncWrite};
/// Stream, either plain TCP or TLS. /// Stream, either plain TCP or TLS.
#[derive(Debug)]
pub enum Stream<S, T> { pub enum Stream<S, T> {
/// Unencrypted socket stream. /// Unencrypted socket stream.
Plain(S), Plain(S),

Loading…
Cancel
Save