Struct mbedtls_sys::ssl_session
source · [−]#[repr(C)]pub struct ssl_session {Show 14 fields
pub mfl_code: c_uchar,
pub start: time_t,
pub ciphersuite: c_int,
pub compression: c_int,
pub id_len: size_t,
pub id: [c_uchar; 32],
pub master: [c_uchar; 48],
pub peer_cert: *mut x509_crt,
pub verify_result: u32,
pub ticket: *mut c_uchar,
pub ticket_len: size_t,
pub ticket_lifetime: u32,
pub trunc_hmac: c_int,
pub encrypt_then_mac: c_int,
}
Fields
mfl_code: c_uchar
start: time_t
ciphersuite: c_int
compression: c_int
id_len: size_t
id: [c_uchar; 32]
master: [c_uchar; 48]
peer_cert: *mut x509_crt
verify_result: u32
ticket: *mut c_uchar
ticket_len: size_t
ticket_lifetime: u32
trunc_hmac: c_int
encrypt_then_mac: c_int
Trait Implementations
sourceimpl Clone for ssl_session
impl Clone for ssl_session
sourcefn clone(&self) -> ssl_session
fn clone(&self) -> ssl_session
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for ssl_session
impl Default for ssl_session
impl Copy for ssl_session
Auto Trait Implementations
impl RefUnwindSafe for ssl_session
impl !Send for ssl_session
impl !Sync for ssl_session
impl Unpin for ssl_session
impl UnwindSafe for ssl_session
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more