Skip to content

Commit

Permalink
impl Debug for TlsSession and SessionKind
Browse files Browse the repository at this point in the history
  • Loading branch information
imp committed Sep 5, 2020
1 parent 2b78366 commit 476db97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quinn-proto/src/crypto/rustls.rs
Expand Up @@ -23,12 +23,14 @@ use crate::{
};

/// A rustls TLS session
#[derive(Debug)]
pub struct TlsSession {
using_alpn: bool,
got_handshake_data: bool,
inner: SessionKind,
}

#[derive(Debug)]
enum SessionKind {
Client(rustls::ClientSession),
Server(rustls::ServerSession),
Expand Down

0 comments on commit 476db97

Please sign in to comment.