Enum rustls::internal::msgs::handshake::NewSessionTicketExtension [−][src]
pub enum NewSessionTicketExtension {
EarlyData(u32),
Unknown(UnknownExtension),
}Variants
EarlyData(u32)Unknown(UnknownExtension)Implementations
impl NewSessionTicketExtension[src]
impl NewSessionTicketExtension[src]pub fn get_type(&self) -> ExtensionType[src]
Trait Implementations
impl Codec for NewSessionTicketExtension[src]
impl Codec for NewSessionTicketExtension[src]fn read(r: &mut Reader<'_>) -> Option<NewSessionTicketExtension>[src]
fn read(r: &mut Reader<'_>) -> Option<NewSessionTicketExtension>[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().