Struct openssl_sys::BIO_METHOD [−][src]
#[repr(C)]pub struct BIO_METHOD { pub type_: c_int, pub name: *const c_char, pub bwrite: Option<unsafe extern "C" fn(_: *mut BIO, _: *const c_char, _: c_int) -> c_int>, pub bread: Option<unsafe extern "C" fn(_: *mut BIO, _: *mut c_char, _: c_int) -> c_int>, pub bputs: Option<unsafe extern "C" fn(_: *mut BIO, _: *const c_char) -> c_int>, pub bgets: Option<unsafe extern "C" fn(_: *mut BIO, _: *mut c_char, _: c_int) -> c_int>, pub ctrl: Option<unsafe extern "C" fn(_: *mut BIO, _: c_int, _: c_long, _: *mut c_void) -> c_long>, pub create: Option<unsafe extern "C" fn(_: *mut BIO) -> c_int>, pub destroy: Option<unsafe extern "C" fn(_: *mut BIO) -> c_int>, pub callback_ctrl: Option<unsafe extern "C" fn(_: *mut BIO, _: c_int, _: bio_info_cb) -> c_long>, }
Fields
type_: c_int
name: *const c_char
bwrite: Option<unsafe extern "C" fn(_: *mut BIO, _: *const c_char, _: c_int) -> c_int>
bread: Option<unsafe extern "C" fn(_: *mut BIO, _: *mut c_char, _: c_int) -> c_int>
bputs: Option<unsafe extern "C" fn(_: *mut BIO, _: *const c_char) -> c_int>
bgets: Option<unsafe extern "C" fn(_: *mut BIO, _: *mut c_char, _: c_int) -> c_int>
ctrl: Option<unsafe extern "C" fn(_: *mut BIO, _: c_int, _: c_long, _: *mut c_void) -> c_long>
create: Option<unsafe extern "C" fn(_: *mut BIO) -> c_int>
destroy: Option<unsafe extern "C" fn(_: *mut BIO) -> c_int>
callback_ctrl: Option<unsafe extern "C" fn(_: *mut BIO, _: c_int, _: bio_info_cb) -> c_long>
Trait Implementations
impl Copy for BIO_METHOD
[src]
impl Copy for BIO_METHOD
impl Clone for BIO_METHOD
[src]
impl Clone for BIO_METHOD
fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Sync for BIO_METHOD
[src]
impl Sync for BIO_METHOD
Auto Trait Implementations
impl !Send for BIO_METHOD
impl !Send for BIO_METHOD