Trait rustls::internal::msgs::handshake::HasServerExtensions [−][src]
pub trait HasServerExtensions { fn get_extensions(&self) -> &[ServerExtension]; fn has_duplicate_extension(&self) -> bool { ... } fn find_extension(&self, ext: ExtensionType) -> Option<&ServerExtension> { ... } fn get_alpn_protocol(&self) -> Option<&[u8]> { ... } fn get_quic_params_extension(&self) -> Option<Vec<u8>> { ... } fn early_data_extension_offered(&self) -> bool { ... } }
Required methods
fn get_extensions(&self) -> &[ServerExtension]
[src]
Provided methods
fn has_duplicate_extension(&self) -> bool
[src]
Returns true if there is more than one extension of a given type.
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]
Implementors
impl HasServerExtensions for ServerHelloPayload
[src]
impl HasServerExtensions for ServerHelloPayload
[src]fn get_extensions(&self) -> &[ServerExtension]
[src]
impl HasServerExtensions for EncryptedExtensions
[src]
impl HasServerExtensions for EncryptedExtensions
[src]