[][src]Struct nginx::ngx_http_core_srv_conf_t

#[repr(C)]pub struct ngx_http_core_srv_conf_t {
    pub server_names: ngx_array_t,
    pub ctx: *mut ngx_http_conf_ctx_t,
    pub file_name: *mut u_char,
    pub line: ngx_uint_t,
    pub server_name: ngx_str_t,
    pub connection_pool_size: size_t,
    pub request_pool_size: size_t,
    pub client_header_buffer_size: size_t,
    pub large_client_header_buffers: ngx_bufs_t,
    pub client_header_timeout: ngx_msec_t,
    pub ignore_invalid_headers: ngx_flag_t,
    pub merge_slashes: ngx_flag_t,
    pub underscores_in_headers: ngx_flag_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub named_locations: *mut *mut ngx_http_core_loc_conf_t,
}

Fields

server_names: ngx_array_tctx: *mut ngx_http_conf_ctx_tfile_name: *mut u_charline: ngx_uint_tserver_name: ngx_str_tconnection_pool_size: size_trequest_pool_size: size_tclient_header_buffer_size: size_tlarge_client_header_buffers: ngx_bufs_tclient_header_timeout: ngx_msec_tignore_invalid_headers: ngx_flag_tmerge_slashes: ngx_flag_tunderscores_in_headers: ngx_flag_t_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>named_locations: *mut *mut ngx_http_core_loc_conf_t

Implementations

impl ngx_http_core_srv_conf_t[src]

pub fn listen(&self) -> c_uint[src]

pub fn set_listen(&mut self, val: c_uint)[src]

pub fn captures(&self) -> c_uint[src]

pub fn set_captures(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    listen: c_uint,
    captures: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_http_core_srv_conf_t[src]

impl Copy for ngx_http_core_srv_conf_t[src]

impl Debug for ngx_http_core_srv_conf_t[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.