Struct openssl_sys::BIO_METHOD
[−]
[src]
pub struct BIO_METHOD { pub type_: c_int, pub name: *const c_char, pub bwrite: Option<unsafe extern fn(*mut BIO, *const c_char, c_int) -> c_int>, pub bread: Option<unsafe extern fn(*mut BIO, *mut c_char, c_int) -> c_int>, pub bputs: Option<unsafe extern fn(*mut BIO, *const c_char) -> c_int>, pub bgets: Option<unsafe extern fn(*mut BIO, *mut c_char, c_int) -> c_int>, pub ctrl: Option<unsafe extern fn(*mut BIO, c_int, c_long, *mut c_void) -> c_long>, pub create: Option<unsafe extern fn(*mut BIO) -> c_int>, pub destroy: Option<unsafe extern fn(*mut BIO) -> c_int>, pub callback_ctrl: Option<unsafe extern fn(*mut BIO, c_int, bio_info_cb) -> c_long>, }
Fields
type_: c_int
name: *const c_char
bwrite: Option<unsafe extern fn(*mut BIO, *const c_char, c_int) -> c_int>
bread: Option<unsafe extern fn(*mut BIO, *mut c_char, c_int) -> c_int>
bputs: Option<unsafe extern fn(*mut BIO, *const c_char) -> c_int>
bgets: Option<unsafe extern fn(*mut BIO, *mut c_char, c_int) -> c_int>
ctrl: Option<unsafe extern fn(*mut BIO, c_int, c_long, *mut c_void) -> c_long>
create: Option<unsafe extern fn(*mut BIO) -> c_int>
destroy: Option<unsafe extern fn(*mut BIO) -> c_int>
callback_ctrl: Option<unsafe extern fn(*mut BIO, c_int, bio_info_cb) -> c_long>
Trait Implementations
impl Clone for BIO_METHOD
[src]
fn clone(&self) -> BIO_METHOD
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