Struct rustls::internal::msgs::handshake::NewSessionTicketPayload [−][src]
pub struct NewSessionTicketPayload {
pub lifetime_hint: u32,
pub ticket: PayloadU16,
}Fields
lifetime_hint: u32ticket: PayloadU16Implementations
impl NewSessionTicketPayload[src]
impl NewSessionTicketPayload[src]Trait Implementations
impl Codec for NewSessionTicketPayload[src]
impl Codec for NewSessionTicketPayload[src]fn read(r: &mut Reader<'_>) -> Option<NewSessionTicketPayload>[src]
fn read(r: &mut Reader<'_>) -> Option<NewSessionTicketPayload>[src]Decode yourself by fiddling with the Reader.
Return Some if it worked, None if not. Read more
fn get_encoding(&self) -> Vec<u8>[src]
fn get_encoding(&self) -> Vec<u8>[src]Convenience function to get the results of encode().