pub struct Tls12ClientSessionValue {
pub session_id: SessionID,
pub common: ClientSessionCommon,
/* private fields */
}
Fields§
§session_id: SessionID
§common: ClientSessionCommon
Implementations§
source§impl Tls12ClientSessionValue
impl Tls12ClientSessionValue
pub 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
sourcepub fn get_encoding(&self) -> Vec<u8>
pub fn get_encoding(&self) -> Vec<u8>
Inherent implementation of the Codec::get_encoding()
method.
(See read()
for why this is inherent here.)
pub fn take_ticket(&mut self) -> Vec<u8>
pub fn extended_ms(&self) -> bool
pub fn suite(&self) -> &'static Tls12CipherSuite
Methods from Deref<Target = ClientSessionCommon>§
pub fn server_cert_chain(&self) -> &[Certificate]
pub fn secret(&self) -> &[u8] ⓘ
pub fn ticket(&self) -> &[u8] ⓘ
Trait Implementations§
source§impl Debug for Tls12ClientSessionValue
impl Debug for Tls12ClientSessionValue
source§impl Deref for Tls12ClientSessionValue
impl Deref for Tls12ClientSessionValue
source§impl From<Tls12ClientSessionValue> for ClientSessionValue
impl From<Tls12ClientSessionValue> for ClientSessionValue
source§fn from(v: Tls12ClientSessionValue) -> Self
fn from(v: Tls12ClientSessionValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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