[][src]Struct nginx::ngx_http_upstream_conf_t

#[repr(C)]pub struct ngx_http_upstream_conf_t {
    pub upstream: *mut ngx_http_upstream_srv_conf_t,
    pub connect_timeout: ngx_msec_t,
    pub send_timeout: ngx_msec_t,
    pub read_timeout: ngx_msec_t,
    pub next_upstream_timeout: ngx_msec_t,
    pub send_lowat: size_t,
    pub buffer_size: size_t,
    pub limit_rate: size_t,
    pub busy_buffers_size: size_t,
    pub max_temp_file_size: size_t,
    pub temp_file_write_size: size_t,
    pub busy_buffers_size_conf: size_t,
    pub max_temp_file_size_conf: size_t,
    pub temp_file_write_size_conf: size_t,
    pub bufs: ngx_bufs_t,
    pub ignore_headers: ngx_uint_t,
    pub next_upstream: ngx_uint_t,
    pub store_access: ngx_uint_t,
    pub next_upstream_tries: ngx_uint_t,
    pub buffering: ngx_flag_t,
    pub request_buffering: ngx_flag_t,
    pub pass_request_headers: ngx_flag_t,
    pub pass_request_body: ngx_flag_t,
    pub ignore_client_abort: ngx_flag_t,
    pub intercept_errors: ngx_flag_t,
    pub cyclic_temp_file: ngx_flag_t,
    pub force_ranges: ngx_flag_t,
    pub temp_path: *mut ngx_path_t,
    pub hide_headers_hash: ngx_hash_t,
    pub hide_headers: *mut ngx_array_t,
    pub pass_headers: *mut ngx_array_t,
    pub local: *mut ngx_http_upstream_local_t,
    pub socket_keepalive: ngx_flag_t,
    pub cache_zone: *mut ngx_shm_zone_t,
    pub cache_value: *mut ngx_http_complex_value_t,
    pub cache_min_uses: ngx_uint_t,
    pub cache_use_stale: ngx_uint_t,
    pub cache_methods: ngx_uint_t,
    pub cache_max_range_offset: off_t,
    pub cache_lock: ngx_flag_t,
    pub cache_lock_timeout: ngx_msec_t,
    pub cache_lock_age: ngx_msec_t,
    pub cache_revalidate: ngx_flag_t,
    pub cache_convert_head: ngx_flag_t,
    pub cache_background_update: ngx_flag_t,
    pub cache_valid: *mut ngx_array_t,
    pub cache_bypass: *mut ngx_array_t,
    pub cache_purge: *mut ngx_array_t,
    pub no_cache: *mut ngx_array_t,
    pub store_lengths: *mut ngx_array_t,
    pub store_values: *mut ngx_array_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub ssl: *mut ngx_ssl_t,
    pub ssl_session_reuse: ngx_flag_t,
    pub ssl_name: *mut ngx_http_complex_value_t,
    pub ssl_server_name: ngx_flag_t,
    pub ssl_verify: ngx_flag_t,
    pub module: ngx_str_t,
    pub spare: [u64; 2],
}

Fields

upstream: *mut ngx_http_upstream_srv_conf_tconnect_timeout: ngx_msec_tsend_timeout: ngx_msec_tread_timeout: ngx_msec_tnext_upstream_timeout: ngx_msec_tsend_lowat: size_tbuffer_size: size_tlimit_rate: size_tbusy_buffers_size: size_tmax_temp_file_size: size_ttemp_file_write_size: size_tbusy_buffers_size_conf: size_tmax_temp_file_size_conf: size_ttemp_file_write_size_conf: size_tbufs: ngx_bufs_tignore_headers: ngx_uint_tnext_upstream: ngx_uint_tstore_access: ngx_uint_tnext_upstream_tries: ngx_uint_tbuffering: ngx_flag_trequest_buffering: ngx_flag_tpass_request_headers: ngx_flag_tpass_request_body: ngx_flag_tignore_client_abort: ngx_flag_tintercept_errors: ngx_flag_tcyclic_temp_file: ngx_flag_tforce_ranges: ngx_flag_ttemp_path: *mut ngx_path_thide_headers_hash: ngx_hash_thide_headers: *mut ngx_array_tpass_headers: *mut ngx_array_tlocal: *mut ngx_http_upstream_local_tsocket_keepalive: ngx_flag_tcache_zone: *mut ngx_shm_zone_tcache_value: *mut ngx_http_complex_value_tcache_min_uses: ngx_uint_tcache_use_stale: ngx_uint_tcache_methods: ngx_uint_tcache_max_range_offset: off_tcache_lock: ngx_flag_tcache_lock_timeout: ngx_msec_tcache_lock_age: ngx_msec_tcache_revalidate: ngx_flag_tcache_convert_head: ngx_flag_tcache_background_update: ngx_flag_tcache_valid: *mut ngx_array_tcache_bypass: *mut ngx_array_tcache_purge: *mut ngx_array_tno_cache: *mut ngx_array_tstore_lengths: *mut ngx_array_tstore_values: *mut ngx_array_t_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>ssl: *mut ngx_ssl_tssl_session_reuse: ngx_flag_tssl_name: *mut ngx_http_complex_value_tssl_server_name: ngx_flag_tssl_verify: ngx_flag_tmodule: ngx_str_tspare: [u64; 2]

Implementations

impl ngx_http_upstream_conf_t[src]

pub fn cache(&self) -> c_int[src]

pub fn set_cache(&mut self, val: c_int)[src]

pub fn store(&self) -> c_int[src]

pub fn set_store(&mut self, val: c_int)[src]

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    cache: c_int,
    store: c_int,
    intercept_404: c_uint,
    change_buffering: c_uint,
    pass_trailers: c_uint,
    preserve_output: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_http_upstream_conf_t[src]

impl Copy for ngx_http_upstream_conf_t[src]

impl Debug for ngx_http_upstream_conf_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_upstream_conf_t

impl !Send for ngx_http_upstream_conf_t

impl !Sync for ngx_http_upstream_conf_t

impl Unpin for ngx_http_upstream_conf_t

impl UnwindSafe for ngx_http_upstream_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.