pub struct NgxHttpV2Module;
Expand description
Auxiliary structure to access ngx_http_v2_module
configuration.
Trait Implementations§
Source§impl HttpModule for NgxHttpV2Module
impl HttpModule for NgxHttpV2Module
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_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§impl HttpModuleServerConf for NgxHttpV2Module
impl HttpModuleServerConf for NgxHttpV2Module
Source§type ServerConf = ngx_http_v2_srv_conf_t
type ServerConf = ngx_http_v2_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 NgxHttpV2Module
impl RefUnwindSafe for NgxHttpV2Module
impl Send for NgxHttpV2Module
impl Sync for NgxHttpV2Module
impl Unpin for NgxHttpV2Module
impl UnwindSafe for NgxHttpV2Module
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