#[repr(C)]pub struct ngx_http_core_srv_conf_t {Show 16 fields
pub server_names: ngx_array_t,
pub ctx: *mut ngx_http_conf_ctx_t,
pub file_name: *mut u8,
pub line: usize,
pub server_name: ngx_str_t,
pub connection_pool_size: usize,
pub request_pool_size: usize,
pub client_header_buffer_size: usize,
pub large_client_header_buffers: ngx_bufs_t,
pub client_header_timeout: usize,
pub ignore_invalid_headers: isize,
pub merge_slashes: isize,
pub underscores_in_headers: isize,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub named_locations: *mut *mut ngx_http_core_loc_conf_s,
}
Fields§
§server_names: ngx_array_t
§ctx: *mut ngx_http_conf_ctx_t
§file_name: *mut u8
§line: usize
§server_name: ngx_str_t
§connection_pool_size: usize
§request_pool_size: usize
§client_header_buffer_size: usize
§large_client_header_buffers: ngx_bufs_t
§client_header_timeout: usize
§ignore_invalid_headers: isize
§merge_slashes: isize
§underscores_in_headers: isize
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§named_locations: *mut *mut ngx_http_core_loc_conf_s
Implementations§
Source§impl ngx_http_core_srv_conf_t
impl ngx_http_core_srv_conf_t
pub fn listen(&self) -> u32
pub fn set_listen(&mut self, val: u32)
pub unsafe fn listen_raw(this: *const ngx_http_core_srv_conf_t) -> u32
pub unsafe fn set_listen_raw(this: *mut ngx_http_core_srv_conf_t, val: u32)
pub fn captures(&self) -> u32
pub fn set_captures(&mut self, val: u32)
pub unsafe fn captures_raw(this: *const ngx_http_core_srv_conf_t) -> u32
pub unsafe fn set_captures_raw(this: *mut ngx_http_core_srv_conf_t, val: u32)
pub fn new_bitfield_1( listen: u32, captures: u32, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for ngx_http_core_srv_conf_t
impl Clone for ngx_http_core_srv_conf_t
Source§fn clone(&self) -> ngx_http_core_srv_conf_t
fn clone(&self) -> ngx_http_core_srv_conf_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_core_srv_conf_t
impl Debug for ngx_http_core_srv_conf_t
Source§impl HttpModuleConfExt for ngx_http_core_srv_conf_t
impl HttpModuleConfExt for ngx_http_core_srv_conf_t
Source§unsafe fn http_main_conf_unchecked<T>(
&self,
module: &ngx_module_t,
) -> Option<NonNull<T>>
unsafe fn http_main_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>
Get a non-null reference to the main configuration structure for HTTP module Read more
Source§unsafe fn http_server_conf_unchecked<T>(
&self,
module: &ngx_module_t,
) -> Option<NonNull<T>>
unsafe fn http_server_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>
Get a non-null reference to the server configuration structure for HTTP module Read more
Source§unsafe fn http_location_conf_unchecked<T>(
&self,
module: &ngx_module_t,
) -> Option<NonNull<T>>
unsafe fn http_location_conf_unchecked<T>( &self, module: &ngx_module_t, ) -> Option<NonNull<T>>
Get a non-null reference to the location configuration structure for HTTP module Read more
impl Copy for ngx_http_core_srv_conf_t
Auto Trait Implementations§
impl Freeze for ngx_http_core_srv_conf_t
impl RefUnwindSafe for ngx_http_core_srv_conf_t
impl !Send for ngx_http_core_srv_conf_t
impl !Sync for ngx_http_core_srv_conf_t
impl Unpin for ngx_http_core_srv_conf_t
impl UnwindSafe for ngx_http_core_srv_conf_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