Skip to content

Commit 81db532

Browse files
committed
lib: derive Debug on StartHandshake
This auto-derives a `Debug` implementation for `StartHandshake`.
1 parent 8ce9b65 commit 81db532

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,13 @@ where
376376
}
377377
}
378378

379+
/// An incoming connection received through [`LazyConfigAcceptor`].
380+
///
381+
/// This contains the generic `IO` asynchronous transport,
382+
/// [`ClientHello`](rustls::server::ClientHello) data,
383+
/// and all the state required to continue the TLS handshake (e.g. via
384+
/// [`StartHandshake::into_stream`]).
385+
#[derive(Debug)]
379386
pub struct StartHandshake<IO> {
380387
accepted: rustls::server::Accepted,
381388
io: IO,

0 commit comments

Comments
 (0)