pub struct Tls13ClientSessionValue {
suite: &'static Tls13CipherSuite,
age_add: u32,
max_early_data_size: u32,
pub(crate) common: ClientSessionCommon,
}
Fields§
§suite: &'static Tls13CipherSuite
§age_add: u32
§max_early_data_size: u32
§common: ClientSessionCommon
Implementations§
source§impl Tls13ClientSessionValue
impl Tls13ClientSessionValue
pub(crate) fn new( suite: &'static Tls13CipherSuite, ticket: Vec<u8>, secret: Vec<u8>, server_cert_chain: Vec<Certificate>, time_now: TimeBase, lifetime_secs: u32, age_add: u32, max_early_data_size: u32, ) -> Self
pub fn max_early_data_size(&self) -> u32
pub fn suite(&self) -> &'static Tls13CipherSuite
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 Debug for Tls13ClientSessionValue
impl Debug for Tls13ClientSessionValue
Auto Trait Implementations§
impl Freeze for Tls13ClientSessionValue
impl RefUnwindSafe for Tls13ClientSessionValue
impl Send for Tls13ClientSessionValue
impl Sync for Tls13ClientSessionValue
impl Unpin for Tls13ClientSessionValue
impl UnwindSafe for Tls13ClientSessionValue
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