[]Struct yukikaze::connector::rustls::internal::msgs::handshake::ServerHelloPayload

pub struct ServerHelloPayload {
    pub legacy_version: ProtocolVersion,
    pub random: Random,
    pub session_id: SessionID,
    pub cipher_suite: CipherSuite,
    pub compression_method: Compression,
    pub extensions: Vec<ServerExtension>,
}

Fields

legacy_version: ProtocolVersionrandom: Randomsession_id: SessionIDcipher_suite: CipherSuitecompression_method: Compressionextensions: Vec<ServerExtension>

Methods

impl ServerHelloPayload

pub fn get_key_share(&self) -> Option<&KeyShareEntry>

pub fn get_psk_index(&self) -> Option<u16>

pub fn get_ecpoints_extension(&self) -> Option<&Vec<ECPointFormat>>

pub fn ems_support_acked(&self) -> bool

pub fn get_sct_list(&self) -> Option<&Vec<PayloadU16>>

pub fn get_supported_versions(&self) -> Option<ProtocolVersion>

Trait Implementations

impl Codec for ServerHelloPayload

impl Debug for ServerHelloPayload

impl HasServerExtensions for ServerHelloPayload

Auto Trait Implementations

impl Sync for ServerHelloPayload

impl Send for ServerHelloPayload

impl Unpin for ServerHelloPayload

impl UnwindSafe for ServerHelloPayload

impl RefUnwindSafe for ServerHelloPayload

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self