#[repr(C)]pub struct ngx_http_module_t {
pub preconfiguration: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> isize>,
pub postconfiguration: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> isize>,
pub create_main_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> *mut c_void>,
pub init_main_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s, _: *mut c_void) -> *mut i8>,
pub create_srv_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> *mut c_void>,
pub merge_srv_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s, _: *mut c_void, _: *mut c_void) -> *mut i8>,
pub create_loc_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> *mut c_void>,
pub merge_loc_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s, _: *mut c_void, _: *mut c_void) -> *mut i8>,
}
Fields§
§preconfiguration: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> isize>
§postconfiguration: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> isize>
§create_main_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> *mut c_void>
§init_main_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s, _: *mut c_void) -> *mut i8>
§create_srv_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> *mut c_void>
§merge_srv_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s, _: *mut c_void, _: *mut c_void) -> *mut i8>
§create_loc_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s) -> *mut c_void>
§merge_loc_conf: Option<unsafe extern "C" fn(_: *mut ngx_conf_s, _: *mut c_void, _: *mut c_void) -> *mut i8>
Trait Implementations§
Source§impl Clone for ngx_http_module_t
impl Clone for ngx_http_module_t
Source§fn clone(&self) -> ngx_http_module_t
fn clone(&self) -> ngx_http_module_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ngx_http_module_t
impl Debug for ngx_http_module_t
impl Copy for ngx_http_module_t
Auto Trait Implementations§
impl Freeze for ngx_http_module_t
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more