Add #[derive(Debug)] to Stream

pull/83/head
hansolshin 4 years ago
parent 1170f4e080
commit aeac44140d
  1. 1
      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<S, T> {
/// Unencrypted socket stream.
Plain(S),

Loading…
Cancel
Save