#[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 CHANNEL
§eid: c_int
§timeout: db_timeout_t
§close: 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§
Source§impl Clone for __db_channel
impl Clone for __db_channel
Source§fn clone(&self) -> __db_channel
fn clone(&self) -> __db_channel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for __db_channel
impl Debug for __db_channel
Source§impl Default for __db_channel
impl Default for __db_channel
impl Copy for __db_channel
Auto Trait Implementations§
impl Freeze for __db_channel
impl RefUnwindSafe for __db_channel
impl !Send for __db_channel
impl !Sync for __db_channel
impl Unpin for __db_channel
impl UnwindSafe for __db_channel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more