pub fn peer_from_connection(connection: &Connection) -> Option<Peer>Expand description
r[impl jetstream.session.identity]
The peer’s TLS certificate chain, parsed, or None when the
connection carries no client certificate.
For the default rustls session the dynamic identity downcasts to a
Vec<CertificateDer>.