Struct rustls::internal::msgs::handshake::ServerHelloPayload[][src]

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>

Implementations

impl ServerHelloPayload[src]

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

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

pub fn get_ecpoints_extension(&self) -> Option<&ECPointFormatList>[src]

pub fn ems_support_acked(&self) -> bool[src]

pub fn get_sct_list(&self) -> Option<&SCTList>[src]

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

Trait Implementations

impl Codec for ServerHelloPayload[src]

impl Debug for ServerHelloPayload[src]

impl HasServerExtensions for ServerHelloPayload[src]

Auto Trait Implementations

impl RefUnwindSafe for ServerHelloPayload

impl Send for ServerHelloPayload

impl Sync for ServerHelloPayload

impl Unpin for ServerHelloPayload

impl UnwindSafe for ServerHelloPayload

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.