Struct mbedtls_sys::ssl_cache_context
source · #[repr(C)]pub struct ssl_cache_context {
pub chain: *mut ssl_cache_entry,
pub timeout: c_int,
pub max_entries: c_int,
pub mutex: threading_mutex_t,
}
Fields§
§chain: *mut ssl_cache_entry
§timeout: c_int
§max_entries: c_int
§mutex: threading_mutex_t
Trait Implementations§
source§impl Clone for ssl_cache_context
impl Clone for ssl_cache_context
source§fn clone(&self) -> ssl_cache_context
fn clone(&self) -> ssl_cache_context
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ssl_cache_context
impl Default for ssl_cache_context
impl Copy for ssl_cache_context
Auto Trait Implementations§
impl RefUnwindSafe for ssl_cache_context
impl !Send for ssl_cache_context
impl !Sync for ssl_cache_context
impl Unpin for ssl_cache_context
impl UnwindSafe for ssl_cache_context
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