[][src]Struct kayrx::secure::tls::rust_tls::internal::msgs::handshake::NewSessionTicketPayloadTLS13

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

Fields

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

Methods

impl NewSessionTicketPayloadTLS13[src]

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

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

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

Trait Implementations

impl Codec for NewSessionTicketPayloadTLS13[src]

impl Debug for NewSessionTicketPayloadTLS13[src]

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,