pub struct NgxHttpUpstreamModule;
Expand description
Auxiliary structure to access ngx_http_upstream_module
configuration.
Trait Implementations§
Source§impl HttpModule for NgxHttpUpstreamModule
impl HttpModule for NgxHttpUpstreamModule
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§impl HttpModuleMainConf for NgxHttpUpstreamModule
impl HttpModuleMainConf for NgxHttpUpstreamModule
Source§type MainConf = ngx_http_upstream_main_conf_t
type MainConf = ngx_http_upstream_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 NgxHttpUpstreamModule
impl HttpModuleServerConf for NgxHttpUpstreamModule
Source§type ServerConf = ngx_http_upstream_srv_conf_s
type ServerConf = ngx_http_upstream_srv_conf_s
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 NgxHttpUpstreamModule
impl RefUnwindSafe for NgxHttpUpstreamModule
impl Send for NgxHttpUpstreamModule
impl Sync for NgxHttpUpstreamModule
impl Unpin for NgxHttpUpstreamModule
impl UnwindSafe for NgxHttpUpstreamModule
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