Struct rustls::internal::msgs::handshake::ClientHelloPayload [−][src]
Fields
client_version: ProtocolVersion
random: Random
session_id: SessionID
cipher_suites: Vec<CipherSuite>
compression_methods: Vec<Compression>
extensions: Vec<ClientExtension>
Implementations
impl ClientHelloPayload
[src]
pub fn has_duplicate_extension(&self) -> bool
[src]
Returns true if there is more than one extension of a given type.
pub fn find_extension(&self, ext: ExtensionType) -> Option<&ClientExtension>
[src]
pub fn get_sni_extension(&self) -> Option<&ServerNameRequest>
[src]
pub fn get_sigalgs_extension(&self) -> Option<&SupportedSignatureSchemes>
[src]
pub fn get_namedgroups_extension(&self) -> Option<&NamedGroups>
[src]
pub fn get_ecpoints_extension(&self) -> Option<&ECPointFormatList>
[src]
pub fn get_alpn_extension(&self) -> Option<&ProtocolNameList>
[src]
pub fn get_quic_params_extension(&self) -> Option<Vec<u8>>
[src]
pub fn get_ticket_extension(&self) -> Option<&ClientExtension>
[src]
pub fn get_versions_extension(&self) -> Option<&ProtocolVersions>
[src]
pub fn get_keyshare_extension(&self) -> Option<&KeyShareEntries>
[src]
pub fn has_keyshare_extension_with_duplicates(&self) -> bool
[src]
pub fn get_psk(&self) -> Option<&PresharedKeyOffer>
[src]
pub fn check_psk_ext_is_last(&self) -> bool
[src]
pub fn get_psk_modes(&self) -> Option<&PSKKeyExchangeModes>
[src]
pub fn psk_mode_offered(&self, mode: PSKKeyExchangeMode) -> bool
[src]
pub fn set_psk_binder(&mut self, binder: Vec<u8>)
[src]
pub fn ems_support_offered(&self) -> bool
[src]
pub fn early_data_extension_offered(&self) -> bool
[src]
Trait Implementations
impl Codec for ClientHelloPayload
[src]
fn encode(&self, bytes: &mut Vec<u8>)
[src]
fn read(r: &mut Reader<'_>) -> Option<ClientHelloPayload>
[src]
fn get_encoding(&self) -> Vec<u8>
[src]
fn read_bytes(bytes: &[u8]) -> Option<Self>
[src]
impl Debug for ClientHelloPayload
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClientHelloPayload
impl Send for ClientHelloPayload
impl Sync for ClientHelloPayload
impl Unpin for ClientHelloPayload
impl UnwindSafe for ClientHelloPayload
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,