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_intname: *const c_charbwrite: 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>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.