Skip to content

Commit

Permalink
Merge pull request #174 from SyedAhkam/master
Browse files Browse the repository at this point in the history
Derive `Debug` trait for `MaybeTlsStream`
  • Loading branch information
jxs committed Jun 10, 2021
2 parents 6ce3591 + bed60c7 commit 44190cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/stream.rs
Expand Up @@ -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<S> {
/// Unencrypted socket stream.
Plain(#[pin] S),
Expand Down

0 comments on commit 44190cf

Please sign in to comment.