[][src]Struct libdb_sys::ffi::__db_channel

#[repr(C)]
pub struct __db_channel {
    pub channel: *mut CHANNEL,
    pub eid: c_int,
    pub timeout: db_timeout_t,
    pub close: Option<unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: u_int32_t) -> c_int>,
    pub send_msg: Option<unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: *mut DBT, arg3: u_int32_t, arg4: u_int32_t) -> c_int>,
    pub send_request: Option<unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: *mut DBT, arg3: u_int32_t, arg4: *mut DBT, arg5: db_timeout_t, arg6: u_int32_t) -> c_int>,
    pub set_timeout: Option<unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: db_timeout_t) -> c_int>,
}

Fields

channel: *mut CHANNELeid: c_inttimeout: db_timeout_tclose: Option<unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: u_int32_t) -> c_int>send_msg: Option<unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: *mut DBT, arg3: u_int32_t, arg4: u_int32_t) -> c_int>send_request: Option<unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: *mut DBT, arg3: u_int32_t, arg4: *mut DBT, arg5: db_timeout_t, arg6: u_int32_t) -> c_int>set_timeout: Option<unsafe extern "C" fn(arg1: *mut DB_CHANNEL, arg2: db_timeout_t) -> c_int>

Trait Implementations

impl Clone for __db_channel[src]

impl Copy for __db_channel[src]

impl Debug for __db_channel[src]

impl Default for __db_channel[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.