Skip to content

Commit

Permalink
Derive Debug trait for MaybeTlsStream
Browse files Browse the repository at this point in the history
  • Loading branch information
SyedAhkam committed Jun 10, 2021
1 parent 6ce3591 commit bed60c7
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 bed60c7

Please sign in to comment.