[][src]Union libevent_sys::event_callback__bindgen_ty_2

#[repr(C)]pub union event_callback__bindgen_ty_2 {
    pub evcb_callback: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_short, arg3: *mut c_void)>,
    pub evcb_selfcb: Option<unsafe extern "C" fn(arg1: *mut event_callback, arg2: *mut c_void)>,
    pub evcb_evfinalize: Option<unsafe extern "C" fn(arg1: *mut event, arg2: *mut c_void)>,
    pub evcb_cbfinalize: Option<unsafe extern "C" fn(arg1: *mut event_callback, arg2: *mut c_void)>,
    // some fields omitted
}

Fields

evcb_callback: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_short, arg3: *mut c_void)>evcb_selfcb: Option<unsafe extern "C" fn(arg1: *mut event_callback, arg2: *mut c_void)>evcb_evfinalize: Option<unsafe extern "C" fn(arg1: *mut event, arg2: *mut c_void)>evcb_cbfinalize: Option<unsafe extern "C" fn(arg1: *mut event_callback, arg2: *mut c_void)>

Trait Implementations

impl Clone for event_callback__bindgen_ty_2[src]

impl Copy for event_callback__bindgen_ty_2[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.