pub struct HandshakeData { /* private fields */ }Expand description
The settings negotiated during the handshake
Implementations§
Source§impl HandshakeData
impl HandshakeData
pub fn ciphersuite(&self) -> CipherSuite
Sourcepub fn tls_version(&self) -> u16
pub fn tls_version(&self) -> u16
Wire-encoded protocol version (0x0304 for TLS 1.3).
pub fn key_exchange_group(&self) -> KeyExchangeGroup
Sourcepub fn signature_scheme(&self) -> SignatureScheme
pub fn signature_scheme(&self) -> SignatureScheme
The signature scheme used by the server’s CertificateVerify.
pub fn alpn(&self) -> &[u8] ⓘ
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 moreAuto 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