[][src]Struct couchbase_sys::lcb_iops_completion_st

#[repr(C)]pub struct lcb_iops_completion_st {
    pub cookie: *mut c_void,
    pub error: c_int,
    pub need_cleanup: c_int,
    pub create_socket: lcb_ioC_socket_fn,
    pub start_connect: lcb_ioC_connect_fn,
    pub create_writebuf: lcb_ioC_wballoc_fn,
    pub release_writebuf: lcb_ioC_wbfree_fn,
    pub start_write: lcb_ioC_write_fn,
    pub start_read: lcb_ioC_read_fn,
    pub close_socket: lcb_ioC_close_fn,
    pub create_timer: lcb_io_timer_create_fn,
    pub destroy_timer: lcb_io_timer_destroy_fn,
    pub delete_timer: lcb_io_timer_cancel_fn,
    pub update_timer: lcb_io_timer_schedule_fn,
    pub get_nameinfo: lcb_ioC_nameinfo_fn,
    pub pad1: Option<unsafe extern "C" fn()>,
    pub pad2: Option<unsafe extern "C" fn()>,
    pub send_error: Option<unsafe extern "C" fn(arg1: *mut lcb_io_opt_st, arg2: *mut lcb_sockdata_t, arg3: Option<unsafe extern "C" fn(arg1: *mut lcb_sockdata_t)>)>,
    pub stop_event_loop: lcb_io_stop_fn,
    pub run_event_loop: lcb_io_start_fn,
}

Fields

cookie: *mut c_voiderror: c_intneed_cleanup: c_intcreate_socket: lcb_ioC_socket_fnstart_connect: lcb_ioC_connect_fncreate_writebuf: lcb_ioC_wballoc_fnrelease_writebuf: lcb_ioC_wbfree_fnstart_write: lcb_ioC_write_fnstart_read: lcb_ioC_read_fnclose_socket: lcb_ioC_close_fncreate_timer: lcb_io_timer_create_fndestroy_timer: lcb_io_timer_destroy_fndelete_timer: lcb_io_timer_cancel_fnupdate_timer: lcb_io_timer_schedule_fnget_nameinfo: lcb_ioC_nameinfo_fnpad1: Option<unsafe extern "C" fn()>pad2: Option<unsafe extern "C" fn()>send_error: Option<unsafe extern "C" fn(arg1: *mut lcb_io_opt_st, arg2: *mut lcb_sockdata_t, arg3: Option<unsafe extern "C" fn(arg1: *mut lcb_sockdata_t)>)>stop_event_loop: lcb_io_stop_fnrun_event_loop: lcb_io_start_fn

Trait Implementations

impl Clone for lcb_iops_completion_st[src]

impl Copy for lcb_iops_completion_st[src]

impl Debug for lcb_iops_completion_st[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.