Skip to content

Conversation

@isabelatkinson
Copy link
Contributor

@isabelatkinson isabelatkinson commented Dec 2, 2025

@@ -33,40 +36,129 @@ pub(crate) enum AsyncStream {
Tcp(TcpStream),

/// A TLS connection over TCP.
Tls(TlsStream),
Tls(TlsStream<TcpStream>),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used concrete types in the TLS variants rather than a unified one with a generic bound because doing so would propagate generics to every type that uses a connection.

@isabelatkinson isabelatkinson marked this pull request as ready for review December 4, 2025 16:23
@isabelatkinson isabelatkinson requested a review from a team as a code owner December 4, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant