[][src]Struct openssl_sys::BIO

#[repr(C)]
pub struct BIO {
    pub method: *mut BIO_METHOD,
    pub callback: Option<unsafe extern "C" fn(_: *mut BIO, _: c_int, _: *const c_char, _: c_int, _: c_long, _: c_long) -> c_long>,
    pub cb_arg: *mut c_char,
    pub init: c_int,
    pub shutdown: c_int,
    pub flags: c_int,
    pub retry_reason: c_int,
    pub num: c_int,
    pub ptr: *mut c_void,
    pub next_bio: *mut BIO,
    pub prev_bio: *mut BIO,
    pub references: c_int,
    pub num_read: c_ulong,
    pub num_write: c_ulong,
    pub ex_data: CRYPTO_EX_DATA,
}

Fields

method: *mut BIO_METHODcallback: Option<unsafe extern "C" fn(_: *mut BIO, _: c_int, _: *const c_char, _: c_int, _: c_long, _: c_long) -> c_long>cb_arg: *mut c_charinit: c_intshutdown: c_intflags: c_intretry_reason: c_intnum: c_intptr: *mut c_voidnext_bio: *mut BIOprev_bio: *mut BIOreferences: c_intnum_read: c_ulongnum_write: c_ulongex_data: CRYPTO_EX_DATA

Auto Trait Implementations

impl RefUnwindSafe for BIO

impl !Send for BIO

impl !Sync for BIO

impl Unpin for BIO

impl UnwindSafe for BIO

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.