pub struct Tls13Session { /* private fields */ }Expand description
A stored TLS 1.3 client session value.
Implementations§
Source§impl Tls13Session
impl Tls13Session
Sourcepub fn from_slice(
bytes: &[u8],
provider: &CryptoProvider,
) -> Result<Self, Error>
pub fn from_slice( bytes: &[u8], provider: &CryptoProvider, ) -> Result<Self, Error>
Decode a ticket from the given bytes.
Trait Implementations§
Source§impl Debug for Tls13Session
impl Debug for Tls13Session
Auto Trait Implementations§
impl Freeze for Tls13Session
impl !RefUnwindSafe for Tls13Session
impl Send for Tls13Session
impl Sync for Tls13Session
impl Unpin for Tls13Session
impl UnsafeUnpin for Tls13Session
impl !UnwindSafe for Tls13Session
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