Struct rustls::internal::msgs::handshake::NewSessionTicketPayloadTLS13 [−][src]
Fields
lifetime: u32
age_add: u32
nonce: PayloadU8
ticket: PayloadU16
exts: NewSessionTicketExtensions
Implementations
impl NewSessionTicketPayloadTLS13
[src]
pub fn new(
lifetime: u32,
age_add: u32,
nonce: Vec<u8>,
ticket: Vec<u8>
) -> NewSessionTicketPayloadTLS13
[src]
lifetime: u32,
age_add: u32,
nonce: Vec<u8>,
ticket: Vec<u8>
) -> NewSessionTicketPayloadTLS13
pub fn find_extension(
&self,
ext: ExtensionType
) -> Option<&NewSessionTicketExtension>
[src]
&self,
ext: ExtensionType
) -> Option<&NewSessionTicketExtension>
pub fn get_max_early_data_size(&self) -> Option<u32>
[src]
Trait Implementations
impl Codec for NewSessionTicketPayloadTLS13
[src]
fn encode(&self, bytes: &mut Vec<u8>)
[src]
fn read(r: &mut Reader<'_>) -> Option<NewSessionTicketPayloadTLS13>
[src]
fn get_encoding(&self) -> Vec<u8>
[src]
fn read_bytes(bytes: &[u8]) -> Option<Self>
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,