pub struct TlsNewSessionTicketContent<'a> {
pub ticket_lifetime_hint: u32,
pub ticket: &'a [u8],
}
Expand description
Session ticket, as defined in RFC5077
Fields§
§ticket_lifetime_hint: u32
§ticket: &'a [u8]
Trait Implementations§
Source§impl<'a> Clone for TlsNewSessionTicketContent<'a>
impl<'a> Clone for TlsNewSessionTicketContent<'a>
Source§fn clone(&self) -> TlsNewSessionTicketContent<'a>
fn clone(&self) -> TlsNewSessionTicketContent<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for TlsNewSessionTicketContent<'a>
impl<'a> Debug for TlsNewSessionTicketContent<'a>
Source§impl<'a> PartialEq for TlsNewSessionTicketContent<'a>
impl<'a> PartialEq for TlsNewSessionTicketContent<'a>
Source§fn eq(&self, other: &TlsNewSessionTicketContent<'a>) -> bool
fn eq(&self, other: &TlsNewSessionTicketContent<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for TlsNewSessionTicketContent<'a>
Auto Trait Implementations§
impl<'a> Freeze for TlsNewSessionTicketContent<'a>
impl<'a> RefUnwindSafe for TlsNewSessionTicketContent<'a>
impl<'a> Send for TlsNewSessionTicketContent<'a>
impl<'a> Sync for TlsNewSessionTicketContent<'a>
impl<'a> Unpin for TlsNewSessionTicketContent<'a>
impl<'a> UnwindSafe for TlsNewSessionTicketContent<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more