Skip to content

Commit 5e9ed13

Browse files
committed
Make rustls HandshakeData non-exhaustive
1 parent a5bf3f6 commit 5e9ed13

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
@@ -267,6 +267,7 @@ impl crypto::HeaderKey for Box<dyn HeaderProtectionKey> {
267267
}
268268

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

0 commit comments

Comments
 (0)