[][src]Struct ldap_sys::sockbuf_io

#[repr(C)]pub struct sockbuf_io {
    pub sbi_setup: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc, arg: *mut c_void) -> c_int>,
    pub sbi_remove: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc) -> c_int>,
    pub sbi_ctrl: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc, opt: c_int, arg: *mut c_void) -> c_int>,
    pub sbi_read: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc, buf: *mut c_void, len: ber_len_t) -> ber_slen_t>,
    pub sbi_write: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc, buf: *mut c_void, len: ber_len_t) -> ber_slen_t>,
    pub sbi_close: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc) -> c_int>,
}

Fields

sbi_setup: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc, arg: *mut c_void) -> c_int>sbi_remove: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc) -> c_int>sbi_ctrl: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc, opt: c_int, arg: *mut c_void) -> c_int>sbi_read: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc, buf: *mut c_void, len: ber_len_t) -> ber_slen_t>sbi_write: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc, buf: *mut c_void, len: ber_len_t) -> ber_slen_t>sbi_close: Option<unsafe extern "C" fn(sbiod: *mut Sockbuf_IO_Desc) -> c_int>

Trait Implementations

impl Clone for sockbuf_io[src]

impl Copy for sockbuf_io[src]

impl Debug for sockbuf_io[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.