#[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_ucharstart: time_tciphersuite: c_intcompression: c_intid_len: size_tid: [c_uchar; 32]master: [c_uchar; 48]peer_cert: *mut x509_crtverify_result: u32ticket: *mut c_ucharticket_len: size_tticket_lifetime: u32trunc_hmac: c_intencrypt_then_mac: c_int

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.