pub trait Ssl {
// Provided methods
fn get_ssl(&self) -> Option<&TlsRef> { ... }
fn get_ssl_digest(&self) -> Option<Arc<SslDigest>> { ... }
fn selected_alpn_proto(&self) -> Option<ALPN> { ... }
}
Expand description
Interface to get TLS info
Provided Methods§
Sourcefn get_ssl_digest(&self) -> Option<Arc<SslDigest>>
fn get_ssl_digest(&self) -> Option<Arc<SslDigest>>
Return the tls::SslDigest
for logging
Sourcefn selected_alpn_proto(&self) -> Option<ALPN>
fn selected_alpn_proto(&self) -> Option<ALPN>
Return selected ALPN if any