Struct bearssl::br_sslio_context
[−]
[src]
#[repr(C)]pub struct br_sslio_context { pub engine: *mut br_ssl_engine_context, pub low_read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_uchar, _: usize) -> c_int>, pub read_context: *mut c_void, pub low_write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const c_uchar, _: usize) -> c_int>, pub write_context: *mut c_void, }
\brief Context structure for the simplified SSL I/O wrapper.
This structure is initialised with br_sslio_init()
. Its contents
are opaque and shall not be accessed directly.
Fields
engine: *mut br_ssl_engine_context
low_read: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_uchar, _: usize) -> c_int>
read_context: *mut c_void
low_write: Option<unsafe extern "C" fn(_: *mut c_void, _: *const c_uchar, _: usize) -> c_int>
write_context: *mut c_void
Trait Implementations
impl Debug for br_sslio_context
[src]
impl Copy for br_sslio_context
[src]
impl Clone for br_sslio_context
[src]
fn clone(&self) -> br_sslio_context
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more