pub struct TlsInfo {
pub alpn_protocol: Option<String>,
pub tls_version: Option<String>,
pub cipher_suite: Option<String>,
pub server_name: Option<String>,
}Expand description
Read-only TLS session metadata captured after handshake.
This is an EggFetch-specific type; it does not masquerade as
ssl.SSLObject or any Python SSL type.
Fields§
§alpn_protocol: Option<String>Negotiated ALPN protocol (e.g. "http/1.1", "h2").
tls_version: Option<String>TLS version string (e.g. "TLSv1.3").
cipher_suite: Option<String>Cipher suite identifier.
server_name: Option<String>Server name used for SNI.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsInfo
impl RefUnwindSafe for TlsInfo
impl Send for TlsInfo
impl Sync for TlsInfo
impl Unpin for TlsInfo
impl UnsafeUnpin for TlsInfo
impl UnwindSafe for TlsInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more