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

pub struct NewSessionTicketPayloadTLS13 {
    pub lifetime: u32,
    pub age_add: u32,
    pub nonce: PayloadU8,
    pub ticket: PayloadU16,
    pub exts: NewSessionTicketExtensions,
}

Fields

lifetime: u32age_add: u32nonce: PayloadU8ticket: PayloadU16exts: NewSessionTicketExtensions

Implementations

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

impl RefUnwindSafe for NewSessionTicketPayloadTLS13

impl Send for NewSessionTicketPayloadTLS13

impl Sync for NewSessionTicketPayloadTLS13

impl Unpin for NewSessionTicketPayloadTLS13

impl UnwindSafe for NewSessionTicketPayloadTLS13

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.