Type Definition rustls::internal::msgs::handshake::EncryptedExtensions[][src]

type EncryptedExtensions = Vec<ServerExtension>;

Trait Implementations

impl Codec for EncryptedExtensions[src]

fn encode(&self, bytes: &mut Vec<u8>)[src]

Encode yourself by appending onto bytes.

fn read(r: &mut Reader<'_>) -> Option<EncryptedExtensions>[src]

Decode yourself by fiddling with the Reader. Return Some if it worked, None if not. Read more

fn get_encoding(&self) -> Vec<u8>[src]

Convenience function to get the results of encode().

fn read_bytes(bytes: &[u8]) -> Option<Self>[src]

Read one of these from the front of bytes and return it. Read more

impl HasServerExtensions for EncryptedExtensions[src]

fn get_extensions(&self) -> &[ServerExtension][src]

fn has_duplicate_extension(&self) -> bool[src]

Returns true if there is more than one extension of a given type. Read more

fn find_extension(&self, ext: ExtensionType) -> Option<&ServerExtension>[src]

fn get_alpn_protocol(&self) -> Option<&[u8]>[src]

fn get_quic_params_extension(&self) -> Option<Vec<u8>>[src]

fn early_data_extension_offered(&self) -> bool[src]