#[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>,
}
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.