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>
Methods
impl HelloRetryRequest[src]
impl HelloRetryRequestpub fn has_duplicate_extension(&self) -> bool[src]
pub fn has_duplicate_extension(&self) -> boolReturns true if there is more than one extension of a given type.
pub fn has_unknown_extension(&self) -> bool[src]
pub fn has_unknown_extension(&self) -> boolpub fn get_supported_versions(&self) -> Option<ProtocolVersion>[src]
pub fn get_supported_versions(&self) -> Option<ProtocolVersion>Trait Implementations
impl Debug for HelloRetryRequest[src]
impl Debug for HelloRetryRequestfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Codec for HelloRetryRequest[src]
impl Codec for HelloRetryRequestfn encode(&self, bytes: &mut Vec<u8>)[src]
fn encode(&self, bytes: &mut Vec<u8>)Encode yourself by appending onto bytes.
fn read(r: &mut Reader) -> Option<HelloRetryRequest>[src]
fn read(r: &mut Reader) -> Option<HelloRetryRequest>Decode yourself by fiddling with the Reader. Return Some if it worked, None if not. Read more
fn get_encoding(&self) -> Vec<u8>[src]
fn get_encoding(&self) -> Vec<u8>Convenience function to get the results of encode().
fn read_bytes(bytes: &[u8]) -> Option<Self>[src]
fn read_bytes(bytes: &[u8]) -> Option<Self>Read one of these from the front of bytes and return it. Read more
Auto Trait Implementations
impl Send for HelloRetryRequest
impl Send for HelloRetryRequestimpl Sync for HelloRetryRequest
impl Sync for HelloRetryRequest