#[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
sourceimpl Clone for bio_method_st
impl Clone for bio_method_st
sourcefn clone(&self) -> bio_method_st
fn clone(&self) -> bio_method_st
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for bio_method_st
impl Debug for bio_method_st
sourceimpl Default for bio_method_st
impl Default for bio_method_st
sourceimpl PartialEq<bio_method_st> for bio_method_st
impl PartialEq<bio_method_st> for bio_method_st
sourcefn eq(&self, other: &bio_method_st) -> bool
fn eq(&self, other: &bio_method_st) -> bool
impl Copy for bio_method_st
impl Eq for bio_method_st
impl StructuralEq for bio_method_st
impl StructuralPartialEq for bio_method_st
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more