#[repr(C)]pub struct br_ssl_session_parameters {
pub session_id: [c_uchar; 32],
pub session_id_len: c_uchar,
pub version: u16,
pub cipher_suite: u16,
pub master_secret: [c_uchar; 48],
}
Expand description
\brief Type for session parameters, to be saved for session resumption.
Fields§
§session_id: [c_uchar; 32]
\brief Session ID buffer.
session_id_len: c_uchar
\brief Session ID length (in bytes, at most 32).
version: u16
\brief Protocol version.
cipher_suite: u16
\brief Cipher suite.
master_secret: [c_uchar; 48]
\brief Master secret.
Trait Implementations§
Source§impl Clone for br_ssl_session_parameters
impl Clone for br_ssl_session_parameters
Source§fn clone(&self) -> br_ssl_session_parameters
fn clone(&self) -> br_ssl_session_parameters
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 moreimpl Copy for br_ssl_session_parameters
Auto Trait Implementations§
impl Freeze for br_ssl_session_parameters
impl RefUnwindSafe for br_ssl_session_parameters
impl Send for br_ssl_session_parameters
impl Sync for br_ssl_session_parameters
impl Unpin for br_ssl_session_parameters
impl UnwindSafe for br_ssl_session_parameters
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