Struct rustls::internal::msgs::persist::ClientSessionValue [] [src]

pub struct ClientSessionValue {
    pub version: ProtocolVersion,
    pub cipher_suite: CipherSuite,
    pub session_id: SessionID,
    pub ticket: PayloadU16,
    pub master_secret: PayloadU8,
    pub epoch: u64,
    pub lifetime: u32,
    pub age_add: u32,
    pub extended_ms: bool,
}

Fields

Methods

impl ClientSessionValue
[src]

Trait Implementations

impl Debug for ClientSessionValue
[src]

Formats the value using the given formatter.

impl Codec for ClientSessionValue
[src]

Encode yourself by appending onto bytes.

Decode yourself by fiddling with the Reader. Return Some if it worked, None if not. Read more

Convenience function to get the results of encode().

Read one of these from the front of bytes and return it. Read more