pub type BIO_METHOD = bio_method_st;
Aliased Type§
struct BIO_METHOD {
pub type_: i32,
pub name: *const i8,
pub bwrite: Option<unsafe extern "C" fn(_: *mut bio_st, _: *const i8, _: i32) -> i32>,
pub bread: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut i8, _: i32) -> i32>,
pub bputs: Option<unsafe extern "C" fn(_: *mut bio_st, _: *const i8) -> i32>,
pub bgets: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut i8, _: i32) -> i32>,
pub ctrl: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: i64, _: *mut c_void) -> i64>,
pub create: Option<unsafe extern "C" fn(_: *mut bio_st) -> i32>,
pub destroy: Option<unsafe extern "C" fn(_: *mut bio_st) -> i32>,
pub callback_ctrl: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: i32) -> i64>) -> i64>,
}
Fields§
§type_: i32
§name: *const i8
§bwrite: Option<unsafe extern "C" fn(_: *mut bio_st, _: *const i8, _: i32) -> i32>
§bread: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut i8, _: i32) -> i32>
§bputs: Option<unsafe extern "C" fn(_: *mut bio_st, _: *const i8) -> i32>
§bgets: Option<unsafe extern "C" fn(_: *mut bio_st, _: *mut i8, _: i32) -> i32>
§ctrl: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: i64, _: *mut c_void) -> i64>
§create: Option<unsafe extern "C" fn(_: *mut bio_st) -> i32>
§destroy: Option<unsafe extern "C" fn(_: *mut bio_st) -> i32>
§callback_ctrl: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: Option<unsafe extern "C" fn(_: *mut bio_st, _: i32, _: i32) -> i64>) -> i64>
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 more