[][src]Struct nginx::ngx_event_actions_t

#[repr(C)]pub struct ngx_event_actions_t {
    pub add: Option<unsafe extern "C" fn(ev: *mut ngx_event_t, event: ngx_int_t, flags: ngx_uint_t) -> ngx_int_t>,
    pub del: Option<unsafe extern "C" fn(ev: *mut ngx_event_t, event: ngx_int_t, flags: ngx_uint_t) -> ngx_int_t>,
    pub enable: Option<unsafe extern "C" fn(ev: *mut ngx_event_t, event: ngx_int_t, flags: ngx_uint_t) -> ngx_int_t>,
    pub disable: Option<unsafe extern "C" fn(ev: *mut ngx_event_t, event: ngx_int_t, flags: ngx_uint_t) -> ngx_int_t>,
    pub add_conn: Option<unsafe extern "C" fn(c: *mut ngx_connection_t) -> ngx_int_t>,
    pub del_conn: Option<unsafe extern "C" fn(c: *mut ngx_connection_t, flags: ngx_uint_t) -> ngx_int_t>,
    pub notify: Option<unsafe extern "C" fn(handler: ngx_event_handler_pt) -> ngx_int_t>,
    pub process_events: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t, timer: ngx_msec_t, flags: ngx_uint_t) -> ngx_int_t>,
    pub init: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t, timer: ngx_msec_t) -> ngx_int_t>,
    pub done: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t)>,
}

Fields

add: Option<unsafe extern "C" fn(ev: *mut ngx_event_t, event: ngx_int_t, flags: ngx_uint_t) -> ngx_int_t>del: Option<unsafe extern "C" fn(ev: *mut ngx_event_t, event: ngx_int_t, flags: ngx_uint_t) -> ngx_int_t>enable: Option<unsafe extern "C" fn(ev: *mut ngx_event_t, event: ngx_int_t, flags: ngx_uint_t) -> ngx_int_t>disable: Option<unsafe extern "C" fn(ev: *mut ngx_event_t, event: ngx_int_t, flags: ngx_uint_t) -> ngx_int_t>add_conn: Option<unsafe extern "C" fn(c: *mut ngx_connection_t) -> ngx_int_t>del_conn: Option<unsafe extern "C" fn(c: *mut ngx_connection_t, flags: ngx_uint_t) -> ngx_int_t>notify: Option<unsafe extern "C" fn(handler: ngx_event_handler_pt) -> ngx_int_t>process_events: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t, timer: ngx_msec_t, flags: ngx_uint_t) -> ngx_int_t>init: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t, timer: ngx_msec_t) -> ngx_int_t>done: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t)>

Trait Implementations

impl Clone for ngx_event_actions_t[src]

impl Copy for ngx_event_actions_t[src]

impl Debug for ngx_event_actions_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_event_actions_t

impl Send for ngx_event_actions_t

impl Sync for ngx_event_actions_t

impl Unpin for ngx_event_actions_t

impl UnwindSafe for ngx_event_actions_t

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.