Struct rustls::internal::msgs::handshake::HelloRetryRequest [−][src]
pub struct HelloRetryRequest { pub legacy_version: ProtocolVersion, pub session_id: SessionID, pub cipher_suite: CipherSuite, pub extensions: Vec<HelloRetryExtension>, }
Fields
legacy_version: ProtocolVersion
session_id: SessionID
cipher_suite: CipherSuite
extensions: Vec<HelloRetryExtension>
Implementations
impl HelloRetryRequest
[src]
impl HelloRetryRequest
[src]pub fn has_duplicate_extension(&self) -> bool
[src]
Returns true if there is more than one extension of a given type.
pub fn has_unknown_extension(&self) -> bool
[src]
pub fn get_requested_key_share_group(&self) -> Option<NamedGroup>
[src]
pub fn get_cookie(&self) -> Option<&PayloadU16>
[src]
pub fn get_supported_versions(&self) -> Option<ProtocolVersion>
[src]
Trait Implementations
impl Codec for HelloRetryRequest
[src]
impl Codec for HelloRetryRequest
[src]