Struct hyper_static_server::rustls::internal::msgs::handshake::NewSessionTicketPayloadTLS13[]

pub struct NewSessionTicketPayloadTLS13 {
    pub lifetime: u32,
    pub age_add: u32,
    pub nonce: PayloadU8,
    pub ticket: PayloadU16,
    pub exts: Vec<NewSessionTicketExtension, Global>,
}

Fields

lifetime: u32age_add: u32nonce: PayloadU8ticket: PayloadU16exts: Vec<NewSessionTicketExtension, Global>

Implementations

impl NewSessionTicketPayloadTLS13

pub fn new(
    lifetime: u32,
    age_add: u32,
    nonce: Vec<u8, Global>,
    ticket: Vec<u8, Global>
) -> NewSessionTicketPayloadTLS13

pub fn find_extension(
    &self,
    ext: ExtensionType
) -> Option<&NewSessionTicketExtension>

pub fn get_max_early_data_size(&self) -> Option<u32>

Trait Implementations

impl Codec for NewSessionTicketPayloadTLS13

impl Debug for NewSessionTicketPayloadTLS13

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,