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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
impl Ssl for DuplexStream
impl Ssl for Mock
impl Ssl for UnixStream
Available on Unix only.