Skip to content

Commit d85ab6f

Browse files
committed
Make rustls HandshakeData non-exhaustive
1 parent 74d0368 commit d85ab6f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

quinn-proto/src/crypto/rustls.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ impl HeaderKey for Box<dyn HeaderProtectionKey> {
266266
}
267267

268268
/// Authentication data for (rustls) TLS session
269+
#[non_exhaustive]
269270
pub struct HandshakeData {
270271
/// The negotiated application protocol, if ALPN is in use
271272
///

0 commit comments

Comments
 (0)