Struct ngx_http_request_s

Source
#[repr(C)]
pub struct ngx_http_request_s {
Show 76 fields pub signature: u32, pub connection: *mut ngx_connection_s, pub ctx: *mut *mut c_void, pub main_conf: *mut *mut c_void, pub srv_conf: *mut *mut c_void, pub loc_conf: *mut *mut c_void, pub read_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>, pub write_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>, pub cache: *mut ngx_http_cache_s, pub upstream: *mut ngx_http_upstream_s, pub upstream_states: *mut ngx_array_t, pub pool: *mut ngx_pool_s, pub header_in: *mut ngx_buf_s, pub headers_in: ngx_http_headers_in_t, pub headers_out: ngx_http_headers_out_t, pub request_body: *mut ngx_http_request_body_t, pub lingering_time: i64, pub start_sec: i64, pub start_msec: usize, pub method: usize, pub http_version: usize, pub request_line: ngx_str_t, pub uri: ngx_str_t, pub args: ngx_str_t, pub exten: ngx_str_t, pub unparsed_uri: ngx_str_t, pub method_name: ngx_str_t, pub http_protocol: ngx_str_t, pub schema: ngx_str_t, pub out: *mut ngx_chain_s, pub main: *mut ngx_http_request_s, pub parent: *mut ngx_http_request_s, pub postponed: *mut ngx_http_postponed_request_s, pub post_subrequest: *mut ngx_http_post_subrequest_t, pub posted_requests: *mut ngx_http_posted_request_s, pub phase_handler: isize, pub content_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>, pub access_code: usize, pub variables: *mut ngx_variable_value_t, pub ncaptures: usize, pub captures: *mut i32, pub captures_data: *mut u8, pub limit_rate: usize, pub limit_rate_after: usize, pub header_size: usize, pub request_length: i64, pub err_status: usize, pub http_connection: *mut ngx_http_connection_t, pub stream: *mut ngx_http_v2_stream_s, pub v3_parse: *mut ngx_http_v3_parse_s, pub log_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_request_s, _: *mut u8, _: usize) -> *mut u8>, pub cleanup: *mut ngx_http_cleanup_s, pub _bitfield_align_1: [u16; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 15]>, pub state: usize, pub header_hash: usize, pub lowcase_index: usize, pub lowcase_header: [u8; 32], pub header_name_start: *mut u8, pub header_name_end: *mut u8, pub header_start: *mut u8, pub header_end: *mut u8, pub uri_start: *mut u8, pub uri_end: *mut u8, pub uri_ext: *mut u8, pub args_start: *mut u8, pub request_start: *mut u8, pub request_end: *mut u8, pub method_end: *mut u8, pub schema_start: *mut u8, pub schema_end: *mut u8, pub host_start: *mut u8, pub host_end: *mut u8, pub _bitfield_align_2: [u16; 0], pub _bitfield_2: __BindgenBitfieldUnit<[u8; 4]>, pub __bindgen_padding_0: u32,
}

Fields§

§signature: u32§connection: *mut ngx_connection_s§ctx: *mut *mut c_void§main_conf: *mut *mut c_void§srv_conf: *mut *mut c_void§loc_conf: *mut *mut c_void§read_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>§write_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>§cache: *mut ngx_http_cache_s§upstream: *mut ngx_http_upstream_s§upstream_states: *mut ngx_array_t§pool: *mut ngx_pool_s§header_in: *mut ngx_buf_s§headers_in: ngx_http_headers_in_t§headers_out: ngx_http_headers_out_t§request_body: *mut ngx_http_request_body_t§lingering_time: i64§start_sec: i64§start_msec: usize§method: usize§http_version: usize§request_line: ngx_str_t§uri: ngx_str_t§args: ngx_str_t§exten: ngx_str_t§unparsed_uri: ngx_str_t§method_name: ngx_str_t§http_protocol: ngx_str_t§schema: ngx_str_t§out: *mut ngx_chain_s§main: *mut ngx_http_request_s§parent: *mut ngx_http_request_s§postponed: *mut ngx_http_postponed_request_s§post_subrequest: *mut ngx_http_post_subrequest_t§posted_requests: *mut ngx_http_posted_request_s§phase_handler: isize§content_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>§access_code: usize§variables: *mut ngx_variable_value_t§ncaptures: usize§captures: *mut i32§captures_data: *mut u8§limit_rate: usize§limit_rate_after: usize§header_size: usize§request_length: i64§err_status: usize§http_connection: *mut ngx_http_connection_t§stream: *mut ngx_http_v2_stream_s§v3_parse: *mut ngx_http_v3_parse_s§log_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_request_s, _: *mut u8, _: usize) -> *mut u8>§cleanup: *mut ngx_http_cleanup_s§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 15]>§state: usize§header_hash: usize§lowcase_index: usize§lowcase_header: [u8; 32]§header_name_start: *mut u8§header_name_end: *mut u8§header_start: *mut u8§header_end: *mut u8§uri_start: *mut u8§uri_end: *mut u8§uri_ext: *mut u8§args_start: *mut u8§request_start: *mut u8§request_end: *mut u8§method_end: *mut u8§schema_start: *mut u8§schema_end: *mut u8§host_start: *mut u8§host_end: *mut u8§_bitfield_align_2: [u16; 0]§_bitfield_2: __BindgenBitfieldUnit<[u8; 4]>§__bindgen_padding_0: u32

Implementations§

Source§

impl ngx_http_request_s

Source

pub fn count(&self) -> u32

Source

pub fn set_count(&mut self, val: u32)

Source

pub unsafe fn count_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_count_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn subrequests(&self) -> u32

Source

pub fn set_subrequests(&mut self, val: u32)

Source

pub unsafe fn subrequests_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_subrequests_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn blocked(&self) -> u32

Source

pub fn set_blocked(&mut self, val: u32)

Source

pub unsafe fn blocked_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_blocked_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn aio(&self) -> u32

Source

pub fn set_aio(&mut self, val: u32)

Source

pub unsafe fn aio_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_aio_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn http_state(&self) -> u32

Source

pub fn set_http_state(&mut self, val: u32)

Source

pub unsafe fn http_state_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_http_state_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn complex_uri(&self) -> u32

Source

pub fn set_complex_uri(&mut self, val: u32)

Source

pub unsafe fn complex_uri_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_complex_uri_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn quoted_uri(&self) -> u32

Source

pub fn set_quoted_uri(&mut self, val: u32)

Source

pub unsafe fn quoted_uri_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_quoted_uri_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn plus_in_uri(&self) -> u32

Source

pub fn set_plus_in_uri(&mut self, val: u32)

Source

pub unsafe fn plus_in_uri_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_plus_in_uri_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn empty_path_in_uri(&self) -> u32

Source

pub fn set_empty_path_in_uri(&mut self, val: u32)

Source

pub unsafe fn empty_path_in_uri_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_empty_path_in_uri_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn invalid_header(&self) -> u32

Source

pub fn set_invalid_header(&mut self, val: u32)

Source

pub unsafe fn invalid_header_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_invalid_header_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn add_uri_to_alias(&self) -> u32

Source

pub fn set_add_uri_to_alias(&mut self, val: u32)

Source

pub unsafe fn add_uri_to_alias_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_add_uri_to_alias_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn valid_location(&self) -> u32

Source

pub fn set_valid_location(&mut self, val: u32)

Source

pub unsafe fn valid_location_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_valid_location_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn valid_unparsed_uri(&self) -> u32

Source

pub fn set_valid_unparsed_uri(&mut self, val: u32)

Source

pub unsafe fn valid_unparsed_uri_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_valid_unparsed_uri_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn uri_changed(&self) -> u32

Source

pub fn set_uri_changed(&mut self, val: u32)

Source

pub unsafe fn uri_changed_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_uri_changed_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn uri_changes(&self) -> u32

Source

pub fn set_uri_changes(&mut self, val: u32)

Source

pub unsafe fn uri_changes_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_uri_changes_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn request_body_in_single_buf(&self) -> u32

Source

pub fn set_request_body_in_single_buf(&mut self, val: u32)

Source

pub unsafe fn request_body_in_single_buf_raw( this: *const ngx_http_request_s, ) -> u32

Source

pub unsafe fn set_request_body_in_single_buf_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn request_body_in_file_only(&self) -> u32

Source

pub fn set_request_body_in_file_only(&mut self, val: u32)

Source

pub unsafe fn request_body_in_file_only_raw( this: *const ngx_http_request_s, ) -> u32

Source

pub unsafe fn set_request_body_in_file_only_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn request_body_in_persistent_file(&self) -> u32

Source

pub fn set_request_body_in_persistent_file(&mut self, val: u32)

Source

pub unsafe fn request_body_in_persistent_file_raw( this: *const ngx_http_request_s, ) -> u32

Source

pub unsafe fn set_request_body_in_persistent_file_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn request_body_in_clean_file(&self) -> u32

Source

pub fn set_request_body_in_clean_file(&mut self, val: u32)

Source

pub unsafe fn request_body_in_clean_file_raw( this: *const ngx_http_request_s, ) -> u32

Source

pub unsafe fn set_request_body_in_clean_file_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn request_body_file_group_access(&self) -> u32

Source

pub fn set_request_body_file_group_access(&mut self, val: u32)

Source

pub unsafe fn request_body_file_group_access_raw( this: *const ngx_http_request_s, ) -> u32

Source

pub unsafe fn set_request_body_file_group_access_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn request_body_file_log_level(&self) -> u32

Source

pub fn set_request_body_file_log_level(&mut self, val: u32)

Source

pub unsafe fn request_body_file_log_level_raw( this: *const ngx_http_request_s, ) -> u32

Source

pub unsafe fn set_request_body_file_log_level_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn request_body_no_buffering(&self) -> u32

Source

pub fn set_request_body_no_buffering(&mut self, val: u32)

Source

pub unsafe fn request_body_no_buffering_raw( this: *const ngx_http_request_s, ) -> u32

Source

pub unsafe fn set_request_body_no_buffering_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn subrequest_in_memory(&self) -> u32

Source

pub fn set_subrequest_in_memory(&mut self, val: u32)

Source

pub unsafe fn subrequest_in_memory_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_subrequest_in_memory_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn waited(&self) -> u32

Source

pub fn set_waited(&mut self, val: u32)

Source

pub unsafe fn waited_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_waited_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn cached(&self) -> u32

Source

pub fn set_cached(&mut self, val: u32)

Source

pub unsafe fn cached_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_cached_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn gzip_tested(&self) -> u32

Source

pub fn set_gzip_tested(&mut self, val: u32)

Source

pub unsafe fn gzip_tested_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_gzip_tested_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn gzip_ok(&self) -> u32

Source

pub fn set_gzip_ok(&mut self, val: u32)

Source

pub unsafe fn gzip_ok_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_gzip_ok_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn gzip_vary(&self) -> u32

Source

pub fn set_gzip_vary(&mut self, val: u32)

Source

pub unsafe fn gzip_vary_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_gzip_vary_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn realloc_captures(&self) -> u32

Source

pub fn set_realloc_captures(&mut self, val: u32)

Source

pub unsafe fn realloc_captures_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_realloc_captures_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn proxy(&self) -> u32

Source

pub fn set_proxy(&mut self, val: u32)

Source

pub unsafe fn proxy_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_proxy_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn bypass_cache(&self) -> u32

Source

pub fn set_bypass_cache(&mut self, val: u32)

Source

pub unsafe fn bypass_cache_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_bypass_cache_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn no_cache(&self) -> u32

Source

pub fn set_no_cache(&mut self, val: u32)

Source

pub unsafe fn no_cache_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_no_cache_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn limit_conn_status(&self) -> u32

Source

pub fn set_limit_conn_status(&mut self, val: u32)

Source

pub unsafe fn limit_conn_status_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_limit_conn_status_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn limit_req_status(&self) -> u32

Source

pub fn set_limit_req_status(&mut self, val: u32)

Source

pub unsafe fn limit_req_status_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_limit_req_status_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn limit_rate_set(&self) -> u32

Source

pub fn set_limit_rate_set(&mut self, val: u32)

Source

pub unsafe fn limit_rate_set_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_limit_rate_set_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn limit_rate_after_set(&self) -> u32

Source

pub fn set_limit_rate_after_set(&mut self, val: u32)

Source

pub unsafe fn limit_rate_after_set_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_limit_rate_after_set_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn pipeline(&self) -> u32

Source

pub fn set_pipeline(&mut self, val: u32)

Source

pub unsafe fn pipeline_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_pipeline_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn chunked(&self) -> u32

Source

pub fn set_chunked(&mut self, val: u32)

Source

pub unsafe fn chunked_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_chunked_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn header_only(&self) -> u32

Source

pub fn set_header_only(&mut self, val: u32)

Source

pub unsafe fn header_only_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_header_only_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn expect_trailers(&self) -> u32

Source

pub fn set_expect_trailers(&mut self, val: u32)

Source

pub unsafe fn expect_trailers_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_expect_trailers_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn keepalive(&self) -> u32

Source

pub fn set_keepalive(&mut self, val: u32)

Source

pub unsafe fn keepalive_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_keepalive_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn lingering_close(&self) -> u32

Source

pub fn set_lingering_close(&mut self, val: u32)

Source

pub unsafe fn lingering_close_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_lingering_close_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn discard_body(&self) -> u32

Source

pub fn set_discard_body(&mut self, val: u32)

Source

pub unsafe fn discard_body_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_discard_body_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn reading_body(&self) -> u32

Source

pub fn set_reading_body(&mut self, val: u32)

Source

pub unsafe fn reading_body_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_reading_body_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn internal(&self) -> u32

Source

pub fn set_internal(&mut self, val: u32)

Source

pub unsafe fn internal_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_internal_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn error_page(&self) -> u32

Source

pub fn set_error_page(&mut self, val: u32)

Source

pub unsafe fn error_page_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_error_page_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn filter_finalize(&self) -> u32

Source

pub fn set_filter_finalize(&mut self, val: u32)

Source

pub unsafe fn filter_finalize_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_filter_finalize_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn post_action(&self) -> u32

Source

pub fn set_post_action(&mut self, val: u32)

Source

pub unsafe fn post_action_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_post_action_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn request_complete(&self) -> u32

Source

pub fn set_request_complete(&mut self, val: u32)

Source

pub unsafe fn request_complete_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_request_complete_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn request_output(&self) -> u32

Source

pub fn set_request_output(&mut self, val: u32)

Source

pub unsafe fn request_output_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_request_output_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn header_sent(&self) -> u32

Source

pub fn set_header_sent(&mut self, val: u32)

Source

pub unsafe fn header_sent_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_header_sent_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn response_sent(&self) -> u32

Source

pub fn set_response_sent(&mut self, val: u32)

Source

pub unsafe fn response_sent_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_response_sent_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn expect_tested(&self) -> u32

Source

pub fn set_expect_tested(&mut self, val: u32)

Source

pub unsafe fn expect_tested_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_expect_tested_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn root_tested(&self) -> u32

Source

pub fn set_root_tested(&mut self, val: u32)

Source

pub unsafe fn root_tested_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_root_tested_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn done(&self) -> u32

Source

pub fn set_done(&mut self, val: u32)

Source

pub unsafe fn done_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_done_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn logged(&self) -> u32

Source

pub fn set_logged(&mut self, val: u32)

Source

pub unsafe fn logged_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_logged_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn terminated(&self) -> u32

Source

pub fn set_terminated(&mut self, val: u32)

Source

pub unsafe fn terminated_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_terminated_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn buffered(&self) -> u32

Source

pub fn set_buffered(&mut self, val: u32)

Source

pub unsafe fn buffered_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_buffered_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn main_filter_need_in_memory(&self) -> u32

Source

pub fn set_main_filter_need_in_memory(&mut self, val: u32)

Source

pub unsafe fn main_filter_need_in_memory_raw( this: *const ngx_http_request_s, ) -> u32

Source

pub unsafe fn set_main_filter_need_in_memory_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn filter_need_in_memory(&self) -> u32

Source

pub fn set_filter_need_in_memory(&mut self, val: u32)

Source

pub unsafe fn filter_need_in_memory_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_filter_need_in_memory_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn filter_need_temporary(&self) -> u32

Source

pub fn set_filter_need_temporary(&mut self, val: u32)

Source

pub unsafe fn filter_need_temporary_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_filter_need_temporary_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn preserve_body(&self) -> u32

Source

pub fn set_preserve_body(&mut self, val: u32)

Source

pub unsafe fn preserve_body_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_preserve_body_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn allow_ranges(&self) -> u32

Source

pub fn set_allow_ranges(&mut self, val: u32)

Source

pub unsafe fn allow_ranges_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_allow_ranges_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn subrequest_ranges(&self) -> u32

Source

pub fn set_subrequest_ranges(&mut self, val: u32)

Source

pub unsafe fn subrequest_ranges_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_subrequest_ranges_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn single_range(&self) -> u32

Source

pub fn set_single_range(&mut self, val: u32)

Source

pub unsafe fn single_range_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_single_range_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn disable_not_modified(&self) -> u32

Source

pub fn set_disable_not_modified(&mut self, val: u32)

Source

pub unsafe fn disable_not_modified_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_disable_not_modified_raw( this: *mut ngx_http_request_s, val: u32, )

Source

pub fn stat_reading(&self) -> u32

Source

pub fn set_stat_reading(&mut self, val: u32)

Source

pub unsafe fn stat_reading_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_stat_reading_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn stat_writing(&self) -> u32

Source

pub fn set_stat_writing(&mut self, val: u32)

Source

pub unsafe fn stat_writing_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_stat_writing_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn stat_processing(&self) -> u32

Source

pub fn set_stat_processing(&mut self, val: u32)

Source

pub unsafe fn stat_processing_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_stat_processing_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn background(&self) -> u32

Source

pub fn set_background(&mut self, val: u32)

Source

pub unsafe fn background_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_background_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn health_check(&self) -> u32

Source

pub fn set_health_check(&mut self, val: u32)

Source

pub unsafe fn health_check_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_health_check_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn new_bitfield_1( count: u32, subrequests: u32, blocked: u32, aio: u32, http_state: u32, complex_uri: u32, quoted_uri: u32, plus_in_uri: u32, empty_path_in_uri: u32, invalid_header: u32, add_uri_to_alias: u32, valid_location: u32, valid_unparsed_uri: u32, uri_changed: u32, uri_changes: u32, request_body_in_single_buf: u32, request_body_in_file_only: u32, request_body_in_persistent_file: u32, request_body_in_clean_file: u32, request_body_file_group_access: u32, request_body_file_log_level: u32, request_body_no_buffering: u32, subrequest_in_memory: u32, waited: u32, cached: u32, gzip_tested: u32, gzip_ok: u32, gzip_vary: u32, realloc_captures: u32, proxy: u32, bypass_cache: u32, no_cache: u32, limit_conn_status: u32, limit_req_status: u32, limit_rate_set: u32, limit_rate_after_set: u32, pipeline: u32, chunked: u32, header_only: u32, expect_trailers: u32, keepalive: u32, lingering_close: u32, discard_body: u32, reading_body: u32, internal: u32, error_page: u32, filter_finalize: u32, post_action: u32, request_complete: u32, request_output: u32, header_sent: u32, response_sent: u32, expect_tested: u32, root_tested: u32, done: u32, logged: u32, terminated: u32, buffered: u32, main_filter_need_in_memory: u32, filter_need_in_memory: u32, filter_need_temporary: u32, preserve_body: u32, allow_ranges: u32, subrequest_ranges: u32, single_range: u32, disable_not_modified: u32, stat_reading: u32, stat_writing: u32, stat_processing: u32, background: u32, health_check: u32, ) -> __BindgenBitfieldUnit<[u8; 15]>

Source

pub fn http_minor(&self) -> u32

Source

pub fn set_http_minor(&mut self, val: u32)

Source

pub unsafe fn http_minor_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_http_minor_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn http_major(&self) -> u32

Source

pub fn set_http_major(&mut self, val: u32)

Source

pub unsafe fn http_major_raw(this: *const ngx_http_request_s) -> u32

Source

pub unsafe fn set_http_major_raw(this: *mut ngx_http_request_s, val: u32)

Source

pub fn new_bitfield_2( http_minor: u32, http_major: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>

Trait Implementations§

Source§

impl AsMut<ngx_http_request_s> for Request

Source§

fn as_mut(&mut self) -> &mut ngx_http_request_t

Converts this type into a mutable reference of the (usually inferred) input type.
Source§

impl AsRef<ngx_http_request_s> for Request

Source§

fn as_ref(&self) -> &ngx_http_request_t

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for ngx_http_request_s

Source§

fn clone(&self) -> ngx_http_request_s

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ngx_http_request_s

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for ngx_http_request_s

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.