Type Alias NewSessionTicketExtensions

Source
pub type NewSessionTicketExtensions = Vec<NewSessionTicketExtension>;

Aliased Type§

struct NewSessionTicketExtensions { /* private fields */ }

Trait Implementations§

Source§

impl Codec for NewSessionTicketExtensions

Source§

fn encode(&self, bytes: &mut Vec<u8>)

Encode yourself by appending onto bytes.
Source§

fn read(r: &mut Reader<'_>) -> Option<NewSessionTicketExtensions>

Decode yourself by fiddling with the Reader. Return Some if it worked, None if not.
Source§

fn get_encoding(&self) -> Vec<u8>

Convenience function to get the results of encode().
Source§

fn read_bytes(bytes: &[u8]) -> Option<Self>

Read one of these from the front of bytes and return it.