pub struct HandshakeData {
pub alpn: Option<Vec<u8>>,
pub server_name: Option<String>,
pub cipher_suite: Option<String>,
}Expand description
Information established during the TLS 1.3 handshake.
Fields§
§alpn: Option<Vec<u8>>Negotiated ALPN protocol (e.g. h3).
server_name: Option<String>Server name indication (SNI).
cipher_suite: Option<String>Negotiated TLS cipher suite.
Trait Implementations§
Source§impl Clone for HandshakeData
impl Clone for HandshakeData
Source§fn clone(&self) -> HandshakeData
fn clone(&self) -> HandshakeData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HandshakeData
impl Debug for HandshakeData
Source§impl Default for HandshakeData
impl Default for HandshakeData
Source§fn default() -> HandshakeData
fn default() -> HandshakeData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HandshakeData
impl RefUnwindSafe for HandshakeData
impl Send for HandshakeData
impl Sync for HandshakeData
impl Unpin for HandshakeData
impl UnsafeUnpin for HandshakeData
impl UnwindSafe for HandshakeData
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