[][src]Struct nginx::ngx_module_s

#[repr(C)]pub struct ngx_module_s {
    pub ctx_index: ngx_uint_t,
    pub index: ngx_uint_t,
    pub name: *mut c_char,
    pub spare0: ngx_uint_t,
    pub spare1: ngx_uint_t,
    pub version: ngx_uint_t,
    pub signature: *const c_char,
    pub ctx: *mut c_void,
    pub commands: *mut ngx_command_t,
    pub type_: ngx_uint_t,
    pub init_master: Option<unsafe extern "C" fn(log: *mut ngx_log_t) -> ngx_int_t>,
    pub init_module: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t) -> ngx_int_t>,
    pub init_process: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t) -> ngx_int_t>,
    pub init_thread: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t) -> ngx_int_t>,
    pub exit_thread: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t)>,
    pub exit_process: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t)>,
    pub exit_master: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t)>,
    pub spare_hook0: usize,
    pub spare_hook1: usize,
    pub spare_hook2: usize,
    pub spare_hook3: usize,
    pub spare_hook4: usize,
    pub spare_hook5: usize,
    pub spare_hook6: usize,
    pub spare_hook7: usize,
}

Fields

ctx_index: ngx_uint_tindex: ngx_uint_tname: *mut c_charspare0: ngx_uint_tspare1: ngx_uint_tversion: ngx_uint_tsignature: *const c_charctx: *mut c_voidcommands: *mut ngx_command_ttype_: ngx_uint_tinit_master: Option<unsafe extern "C" fn(log: *mut ngx_log_t) -> ngx_int_t>init_module: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t) -> ngx_int_t>init_process: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t) -> ngx_int_t>init_thread: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t) -> ngx_int_t>exit_thread: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t)>exit_process: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t)>exit_master: Option<unsafe extern "C" fn(cycle: *mut ngx_cycle_t)>spare_hook0: usizespare_hook1: usizespare_hook2: usizespare_hook3: usizespare_hook4: usizespare_hook5: usizespare_hook6: usizespare_hook7: usize

Trait Implementations

impl Clone for ngx_module_s[src]

impl Copy for ngx_module_s[src]

impl Debug for ngx_module_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_module_s

impl !Send for ngx_module_s

impl !Sync for ngx_module_s

impl Unpin for ngx_module_s

impl UnwindSafe for ngx_module_s

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.