[]Struct yukikaze::connector::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>,
}

Fields

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

Methods

impl NewSessionTicketPayloadTLS13

pub fn new(
    lifetime: u32,
    age_add: u32,
    nonce: Vec<u8>,
    ticket: Vec<u8>
) -> 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

impl Sync for NewSessionTicketPayloadTLS13

impl Send for NewSessionTicketPayloadTLS13

impl Unpin for NewSessionTicketPayloadTLS13

impl UnwindSafe for NewSessionTicketPayloadTLS13

impl RefUnwindSafe for NewSessionTicketPayloadTLS13

Blanket Implementations

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

impl<T> From<T> for 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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self