pub struct NgxHttpCoreModule;
Expand description
Auxiliary structure to access ngx_http_core_module
configuration.
Trait Implementations§
Source§impl HttpModule for NgxHttpCoreModule
impl HttpModule for NgxHttpCoreModule
Source§fn module() -> &'static ngx_module_t
fn module() -> &'static ngx_module_t
Returns reference to a global variable of type ngx_module_t created for this module.
Source§unsafe extern "C" fn preconfiguration(
_cf: *mut ngx_conf_t,
) -> ngx_int_t
unsafe extern "C" fn preconfiguration( _cf: *mut ngx_conf_t, ) -> ngx_int_t
Safety Read more
Source§unsafe extern "C" fn postconfiguration(
_cf: *mut ngx_conf_t,
) -> ngx_int_t
unsafe extern "C" fn postconfiguration( _cf: *mut ngx_conf_t, ) -> ngx_int_t
Safety Read more
Source§unsafe extern "C" fn create_main_conf(
cf: *mut ngx_conf_t,
) -> *mut c_void
unsafe extern "C" fn create_main_conf( cf: *mut ngx_conf_t, ) -> *mut c_void
Safety Read more
Source§unsafe extern "C" fn init_main_conf(
_cf: *mut ngx_conf_t,
_conf: *mut c_void,
) -> *mut c_char
unsafe extern "C" fn init_main_conf( _cf: *mut ngx_conf_t, _conf: *mut c_void, ) -> *mut c_char
Safety Read more
Source§unsafe extern "C" fn create_srv_conf(
cf: *mut ngx_conf_t,
) -> *mut c_void
unsafe extern "C" fn create_srv_conf( cf: *mut ngx_conf_t, ) -> *mut c_void
Safety Read more
Source§unsafe extern "C" fn create_loc_conf(
cf: *mut ngx_conf_t,
) -> *mut c_void
unsafe extern "C" fn create_loc_conf( cf: *mut ngx_conf_t, ) -> *mut c_void
Safety Read more
Source§impl HttpModuleLocationConf for NgxHttpCoreModule
impl HttpModuleLocationConf for NgxHttpCoreModule
Source§type LocationConf = ngx_http_core_loc_conf_s
type LocationConf = ngx_http_core_loc_conf_s
Type for location-specific module configuration
Source§fn location_conf(
o: &impl HttpModuleConfExt,
) -> Option<&'static Self::LocationConf>
fn location_conf( o: &impl HttpModuleConfExt, ) -> Option<&'static Self::LocationConf>
Get reference to location-specific module configuration
Source§fn location_conf_mut(
o: &impl HttpModuleConfExt,
) -> Option<&'static mut Self::LocationConf>
fn location_conf_mut( o: &impl HttpModuleConfExt, ) -> Option<&'static mut Self::LocationConf>
Get mutable reference to location-specific module configuration
Source§impl HttpModuleMainConf for NgxHttpCoreModule
impl HttpModuleMainConf for NgxHttpCoreModule
Source§type MainConf = ngx_http_core_main_conf_t
type MainConf = ngx_http_core_main_conf_t
Type for main module configuration
Source§fn main_conf(o: &impl HttpModuleConfExt) -> Option<&'static Self::MainConf>
fn main_conf(o: &impl HttpModuleConfExt) -> Option<&'static Self::MainConf>
Get reference to main module configuration
Source§fn main_conf_mut(
o: &impl HttpModuleConfExt,
) -> Option<&'static mut Self::MainConf>
fn main_conf_mut( o: &impl HttpModuleConfExt, ) -> Option<&'static mut Self::MainConf>
Get mutable reference to main module configuration
Source§impl HttpModuleServerConf for NgxHttpCoreModule
impl HttpModuleServerConf for NgxHttpCoreModule
Source§type ServerConf = ngx_http_core_srv_conf_t
type ServerConf = ngx_http_core_srv_conf_t
Type for server-specific module configuration
Source§fn server_conf(o: &impl HttpModuleConfExt) -> Option<&'static Self::ServerConf>
fn server_conf(o: &impl HttpModuleConfExt) -> Option<&'static Self::ServerConf>
Get reference to server-specific module configuration
Source§fn server_conf_mut(
o: &impl HttpModuleConfExt,
) -> Option<&'static mut Self::ServerConf>
fn server_conf_mut( o: &impl HttpModuleConfExt, ) -> Option<&'static mut Self::ServerConf>
Get mutable reference to server-specific module configuration
Auto Trait Implementations§
impl Freeze for NgxHttpCoreModule
impl RefUnwindSafe for NgxHttpCoreModule
impl Send for NgxHttpCoreModule
impl Sync for NgxHttpCoreModule
impl Unpin for NgxHttpCoreModule
impl UnwindSafe for NgxHttpCoreModule
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