[][src]Struct nginx::ngx_http_module_t

#[repr(C)]pub struct ngx_http_module_t {
    pub preconfiguration: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> ngx_int_t>,
    pub postconfiguration: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> ngx_int_t>,
    pub create_main_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> *mut c_void>,
    pub init_main_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t, conf: *mut c_void) -> *mut c_char>,
    pub create_srv_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> *mut c_void>,
    pub merge_srv_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t, prev: *mut c_void, conf: *mut c_void) -> *mut c_char>,
    pub create_loc_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> *mut c_void>,
    pub merge_loc_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t, prev: *mut c_void, conf: *mut c_void) -> *mut c_char>,
}

Fields

preconfiguration: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> ngx_int_t>postconfiguration: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> ngx_int_t>create_main_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> *mut c_void>init_main_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t, conf: *mut c_void) -> *mut c_char>create_srv_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> *mut c_void>merge_srv_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t, prev: *mut c_void, conf: *mut c_void) -> *mut c_char>create_loc_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t) -> *mut c_void>merge_loc_conf: Option<unsafe extern "C" fn(cf: *mut ngx_conf_t, prev: *mut c_void, conf: *mut c_void) -> *mut c_char>

Trait Implementations

impl Clone for ngx_http_module_t[src]

impl Copy for ngx_http_module_t[src]

impl Debug for ngx_http_module_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_module_t

impl Send for ngx_http_module_t

impl Sync for ngx_http_module_t

impl Unpin for ngx_http_module_t

impl UnwindSafe for ngx_http_module_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.