#[repr(C)]pub struct bio_method_st {
pub type_: c_int,
pub name: *const c_char,
pub bwrite: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: *const c_char, arg3: c_int) -> c_int>,
pub bread: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: *mut c_char, arg3: c_int) -> c_int>,
pub bputs: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: *const c_char) -> c_int>,
pub bgets: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: *mut c_char, arg3: c_int) -> c_int>,
pub ctrl: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: c_int, arg3: c_long, arg4: *mut c_void) -> c_long>,
pub create: Option<unsafe extern "C" fn(arg1: *mut BIO) -> c_int>,
pub destroy: Option<unsafe extern "C" fn(arg1: *mut BIO) -> c_int>,
pub callback_ctrl: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: c_int, arg3: bio_info_cb) -> c_long>,
}
Fields§
§type_: c_int
§name: *const c_char
§bwrite: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: *const c_char, arg3: c_int) -> c_int>
§bread: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: *mut c_char, arg3: c_int) -> c_int>
§bputs: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: *const c_char) -> c_int>
§bgets: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: *mut c_char, arg3: c_int) -> c_int>
§ctrl: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: c_int, arg3: c_long, arg4: *mut c_void) -> c_long>
§create: Option<unsafe extern "C" fn(arg1: *mut BIO) -> c_int>
§destroy: Option<unsafe extern "C" fn(arg1: *mut BIO) -> c_int>
§callback_ctrl: Option<unsafe extern "C" fn(arg1: *mut BIO, arg2: c_int, arg3: bio_info_cb) -> c_long>
Trait Implementations§
Source§impl Clone for bio_method_st
impl Clone for bio_method_st
Source§fn clone(&self) -> bio_method_st
fn clone(&self) -> bio_method_st
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 moreSource§impl Debug for bio_method_st
impl Debug for bio_method_st
Source§impl Default for bio_method_st
impl Default for bio_method_st
Source§impl PartialEq for bio_method_st
impl PartialEq for bio_method_st
impl Copy for bio_method_st
impl Eq for bio_method_st
impl StructuralPartialEq for bio_method_st
Auto Trait Implementations§
impl Freeze for bio_method_st
impl RefUnwindSafe for bio_method_st
impl !Send for bio_method_st
impl !Sync for bio_method_st
impl Unpin for bio_method_st
impl UnwindSafe for bio_method_st
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