Skip to content

Conversation

Mark-Simulacrum
Copy link
Collaborator

Release Summary:

  • feat(s2n-quic): Expose &dyn Error for TLS handshake failures in events

Resolved issues:

cc #2616 (not fixed at all, just helps mitigate the lack of it)

Description of changes:

This allows propagating out the Display/Debug impl for the error, rather than just the &'static str we can capture into s2n-quic-transport's Errors.

Call-outs:

n/a

Testing:

I don't think tests are particularly relevant here.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This allows us to always use the Error rather than only when std feature
is enabled. This was stabilized in Rust 1.81, which is below our current
MSRV.
This allows propagating out the Display/Debug impl for the error, rather
than just the &'static str we can capture into s2n-quic-transport's
Errors.
@Mark-Simulacrum Mark-Simulacrum force-pushed the expose-error-to-subscriber branch from 7320bdb to 0fa3937 Compare October 17, 2025 21:55
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