pub struct Tls12Session { /* private fields */ }Expand description
A stored TLS 1.2 client session value.
Implementations§
Source§impl Tls12Session
impl Tls12Session
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 Clone for Tls12Session
impl Clone for Tls12Session
Source§fn clone(&self) -> Tls12Session
fn clone(&self) -> Tls12Session
Returns a duplicate 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 Debug for Tls12Session
impl Debug for Tls12Session
Auto Trait Implementations§
impl Freeze for Tls12Session
impl !RefUnwindSafe for Tls12Session
impl Send for Tls12Session
impl Sync for Tls12Session
impl Unpin for Tls12Session
impl UnsafeUnpin for Tls12Session
impl !UnwindSafe for Tls12Session
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