#[repr(C)]pub struct mbedtls_ssl_cache_entry {
pub private_timestamp: mbedtls_time_t,
pub private_session_id: [c_uchar; 32],
pub private_session_id_len: usize,
pub private_session: *mut c_uchar,
pub private_session_len: usize,
pub private_next: *mut mbedtls_ssl_cache_entry,
}Expand description
\brief This structure is used for storing cache entries
Fields§
§private_timestamp: mbedtls_time_t< entry timestamp
private_session_id: [c_uchar; 32]< session ID
private_session_id_len: usize§private_session: *mut c_uchar< serialized session
private_session_len: usize§private_next: *mut mbedtls_ssl_cache_entry< chain pointer
Trait Implementations§
Source§impl Clone for mbedtls_ssl_cache_entry
impl Clone for mbedtls_ssl_cache_entry
Source§fn clone(&self) -> mbedtls_ssl_cache_entry
fn clone(&self) -> mbedtls_ssl_cache_entry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for mbedtls_ssl_cache_entry
Source§impl Debug for mbedtls_ssl_cache_entry
impl Debug for mbedtls_ssl_cache_entry
Auto Trait Implementations§
impl !Send for mbedtls_ssl_cache_entry
impl !Sync for mbedtls_ssl_cache_entry
impl Freeze for mbedtls_ssl_cache_entry
impl RefUnwindSafe for mbedtls_ssl_cache_entry
impl Unpin for mbedtls_ssl_cache_entry
impl UnsafeUnpin for mbedtls_ssl_cache_entry
impl UnwindSafe for mbedtls_ssl_cache_entry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)