Struct hyper_static_server::rustls::internal::msgs::handshake::ClientHelloPayload [−]
Fields
client_version: ProtocolVersion
random: Random
session_id: SessionID
cipher_suites: Vec<CipherSuite, Global>
compression_methods: Vec<Compression, Global>
extensions: Vec<ClientExtension, Global>
Implementations
impl ClientHelloPayload
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<&ClientExtension>
pub fn get_sni_extension(&self) -> Option<&Vec<ServerName, Global>>
pub fn get_sigalgs_extension(&self) -> Option<&Vec<SignatureScheme, Global>>
pub fn get_namedgroups_extension(&self) -> Option<&Vec<NamedGroup, Global>>
pub fn get_ecpoints_extension(&self) -> Option<&Vec<ECPointFormat, Global>>
pub fn get_alpn_extension(&self) -> Option<&Vec<PayloadU8, Global>>
pub fn get_quic_params_extension(&self) -> Option<Vec<u8, Global>>
pub fn get_ticket_extension(&self) -> Option<&ClientExtension>
pub fn get_versions_extension(&self) -> Option<&Vec<ProtocolVersion, Global>>
pub fn get_keyshare_extension(&self) -> Option<&Vec<KeyShareEntry, Global>>
pub fn has_keyshare_extension_with_duplicates(&self) -> bool
pub fn get_psk(&self) -> Option<&PresharedKeyOffer>
pub fn check_psk_ext_is_last(&self) -> bool
pub fn get_psk_modes(&self) -> Option<&Vec<PSKKeyExchangeMode, Global>>
pub fn psk_mode_offered(&self, mode: PSKKeyExchangeMode) -> bool
pub fn set_psk_binder(&mut self, binder: Vec<u8, Global>)
pub fn ems_support_offered(&self) -> bool
pub fn early_data_extension_offered(&self) -> bool
Trait Implementations
impl Codec for ClientHelloPayload
pub fn encode(&self, bytes: &mut Vec<u8, Global>)
pub fn read(r: &mut Reader<'_>) -> Option<ClientHelloPayload>
pub fn get_encoding(&self) -> Vec<u8, Global>
pub fn read_bytes(bytes: &[u8]) -> Option<Self>
impl Debug for ClientHelloPayload
Auto Trait Implementations
impl RefUnwindSafe for ClientHelloPayload
[src]
impl Send for ClientHelloPayload
[src]
impl Sync for ClientHelloPayload
[src]
impl Unpin for ClientHelloPayload
[src]
impl UnwindSafe for ClientHelloPayload
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,