tokio-rs / tls

A collection of Tokio based TLS libraries.

Home Page:https://tokio.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Derive `Debug` for `tokio_rustls::TlsStream`

ffuugoo opened this issue · comments

Debug is derived for both tokio_rustls::client::TlsStream and tokio_rustls::server::TlsStream.

Is there a reason tokio_rustls::TlsStream does not derive Debug?

Not much of an issue, of course, but it's a single line fix in the library instead of multiple lines of defining project-internal newtype.

No special reason, PR is welcome. :)

Done in #45.