[][src]Struct openssl_sys::BIO_METHOD

#[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

impl !Send for BIO_METHOD

impl Unpin for BIO_METHOD

impl !Sync for BIO_METHOD

impl UnwindSafe for BIO_METHOD

impl RefUnwindSafe for BIO_METHOD

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]