Struct retina_core::protocols::stream::tls::ClientHello
source · pub struct ClientHello {Show 13 fields
pub version: TlsVersion,
pub random: Vec<u8>,
pub session_id: Vec<u8>,
pub cipher_suites: Vec<TlsCipherSuiteID>,
pub compression_algs: Vec<TlsCompressionID>,
pub extension_list: Vec<TlsExtensionType>,
pub server_name: Option<String>,
pub supported_groups: Vec<NamedGroup>,
pub ec_point_formats: Vec<u8>,
pub alpn_protocols: Vec<String>,
pub signature_algs: Vec<SignatureScheme>,
pub key_shares: Vec<KeyShareEntry>,
pub supported_versions: Vec<TlsVersion>,
}
Expand description
A parsed TLS ClientHello message.
Fields§
§version: TlsVersion
§random: Vec<u8>
§session_id: Vec<u8>
§cipher_suites: Vec<TlsCipherSuiteID>
§compression_algs: Vec<TlsCompressionID>
§extension_list: Vec<TlsExtensionType>
§server_name: Option<String>
§supported_groups: Vec<NamedGroup>
§ec_point_formats: Vec<u8>
§alpn_protocols: Vec<String>
§signature_algs: Vec<SignatureScheme>
§supported_versions: Vec<TlsVersion>
Trait Implementations§
source§impl Clone for ClientHello
impl Clone for ClientHello
source§fn clone(&self) -> ClientHello
fn clone(&self) -> ClientHello
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClientHello
impl Debug for ClientHello
source§impl Default for ClientHello
impl Default for ClientHello
source§fn default() -> ClientHello
fn default() -> ClientHello
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientHello
impl RefUnwindSafe for ClientHello
impl Send for ClientHello
impl Sync for ClientHello
impl Unpin for ClientHello
impl UnwindSafe for ClientHello
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more