tokio-rustls: Derive Debug
for tokio_rustls::TlsStream
(#45)
This commit is contained in:
parent
5ea7060a45
commit
e40608bfeb
@ -194,6 +194,7 @@ impl<IO: AsyncRead + AsyncWrite + Unpin> Future for FailableAccept<IO> {
|
|||||||
///
|
///
|
||||||
/// This abstracts over the inner `client::TlsStream` and `server::TlsStream`, so you can use
|
/// This abstracts over the inner `client::TlsStream` and `server::TlsStream`, so you can use
|
||||||
/// a single type to keep both client- and server-initiated TLS-encrypted connections.
|
/// a single type to keep both client- and server-initiated TLS-encrypted connections.
|
||||||
|
#[derive(Debug)]
|
||||||
pub enum TlsStream<T> {
|
pub enum TlsStream<T> {
|
||||||
Client(client::TlsStream<T>),
|
Client(client::TlsStream<T>),
|
||||||
Server(server::TlsStream<T>),
|
Server(server::TlsStream<T>),
|
||||||
|
Loading…
Reference in New Issue
Block a user