Struct rustls::client::Tls12ClientSessionValue
source · pub struct Tls12ClientSessionValue {
suite: &'static Tls12CipherSuite,
pub(crate) session_id: SessionId,
extended_ms: bool,
/* private fields */
}
Fields§
§suite: &'static Tls12CipherSuite
§session_id: SessionId
§extended_ms: bool
Implementations§
source§impl Tls12ClientSessionValue
impl Tls12ClientSessionValue
pub(crate) fn new( suite: &'static Tls12CipherSuite, session_id: SessionId, ticket: Vec<u8>, master_secret: Vec<u8>, server_cert_chain: Vec<Certificate>, time_now: TimeBase, lifetime_secs: u32, extended_ms: bool, ) -> Self
pub(crate) fn take_ticket(&mut self) -> Vec<u8> ⓘ
pub(crate) fn extended_ms(&self) -> bool
pub(crate) fn suite(&self) -> &'static Tls12CipherSuite
Methods from Deref<Target = ClientSessionCommon>§
pub(crate) fn server_cert_chain(&self) -> &[Certificate]
pub(crate) fn secret(&self) -> &[u8] ⓘ
pub(crate) fn ticket(&self) -> &[u8] ⓘ
Trait Implementations§
source§impl Clone for Tls12ClientSessionValue
impl Clone for Tls12ClientSessionValue
source§fn clone(&self) -> Tls12ClientSessionValue
fn clone(&self) -> Tls12ClientSessionValue
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 Debug for Tls12ClientSessionValue
impl Debug for Tls12ClientSessionValue
Auto Trait Implementations§
impl Freeze for Tls12ClientSessionValue
impl !RefUnwindSafe for Tls12ClientSessionValue
impl Send for Tls12ClientSessionValue
impl Sync for Tls12ClientSessionValue
impl Unpin for Tls12ClientSessionValue
impl !UnwindSafe for Tls12ClientSessionValue
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