Trait hyper_static_server::rustls::internal::msgs::handshake::HasServerExtensions[]

pub trait HasServerExtensions {
    pub fn get_extensions(&self) -> &[ServerExtension]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
; pub fn has_duplicate_extension(&self) -> bool { ... }
pub fn find_extension(&self, ext: ExtensionType) -> Option<&ServerExtension> { ... }
pub fn get_alpn_protocol(&self) -> Option<&[u8]> { ... }
pub fn get_quic_params_extension(&self) -> Option<Vec<u8, Global>> { ... }
pub fn early_data_extension_offered(&self) -> bool { ... } }

Required methods

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]

Loading content...

Provided methods

pub fn has_duplicate_extension(&self) -> bool

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

pub fn find_extension(&self, ext: ExtensionType) -> Option<&ServerExtension>

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

pub fn get_quic_params_extension(&self) -> Option<Vec<u8, Global>>

pub fn early_data_extension_offered(&self) -> bool

Loading content...

Implementations on Foreign Types

impl HasServerExtensions for Vec<ServerExtension, Global>

Loading content...

Implementors

impl HasServerExtensions for ServerHelloPayload

Loading content...