Struct mbedtls_sys::ssl_ticket_context
[−]
[src]
#[repr(C)]pub struct ssl_ticket_context { pub keys: [ssl_ticket_key; 2], pub active: c_uchar, pub ticket_lifetime: uint32_t, pub f_rng: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_uchar, _: size_t) -> c_int>, pub p_rng: *mut c_void, pub mutex: threading_mutex_t, }
Fields
keys: [ssl_ticket_key; 2]
active: c_uchar
ticket_lifetime: uint32_t
f_rng: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_uchar, _: size_t) -> c_int>
p_rng: *mut c_void
mutex: threading_mutex_t
Trait Implementations
impl Copy for ssl_ticket_context[src]
impl Clone for ssl_ticket_context[src]
fn clone(&self) -> ssl_ticket_context
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more