Type Definition rustls::internal::msgs::handshake::EncryptedExtensions [−][src]
type EncryptedExtensions = Vec<ServerExtension>;
Trait Implementations
impl Codec for EncryptedExtensions
[src]
impl Codec for EncryptedExtensions
fn 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<EncryptedExtensions>
[src]
fn read(r: &mut Reader) -> Option<EncryptedExtensions>
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
impl HasServerExtensions for EncryptedExtensions
[src]
impl HasServerExtensions for EncryptedExtensions
fn get_extensions(&self) -> &[ServerExtension]
[src]
fn get_extensions(&self) -> &[ServerExtension]
fn has_duplicate_extension(&self) -> bool
[src]
fn has_duplicate_extension(&self) -> bool
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 find_extension(&self, ext: ExtensionType) -> Option<&ServerExtension>
fn get_alpn_protocol(&self) -> Option<&str>
[src]
fn get_alpn_protocol(&self) -> Option<&str>
fn get_quic_params_extension(&self) -> Option<Vec<u8>>
[src]
fn get_quic_params_extension(&self) -> Option<Vec<u8>>
fn early_data_extension_offered(&self) -> bool
[src]
fn early_data_extension_offered(&self) -> bool