[−][src]Struct nginx::ngx_http_upstream_s
Fields
read_event_handler: ngx_http_upstream_handler_pt
write_event_handler: ngx_http_upstream_handler_pt
peer: ngx_peer_connection_t
pipe: *mut ngx_event_pipe_t
request_bufs: *mut ngx_chain_t
output: ngx_output_chain_ctx_t
writer: ngx_chain_writer_ctx_t
conf: *mut ngx_http_upstream_conf_t
upstream: *mut ngx_http_upstream_srv_conf_t
caches: *mut ngx_array_t
headers_in: ngx_http_upstream_headers_in_t
resolved: *mut ngx_http_upstream_resolved_t
from_client: ngx_buf_t
buffer: ngx_buf_t
length: off_t
out_bufs: *mut ngx_chain_t
busy_bufs: *mut ngx_chain_t
free_bufs: *mut ngx_chain_t
input_filter_init: Option<unsafe extern "C" fn(data: *mut c_void) -> ngx_int_t>
input_filter: Option<unsafe extern "C" fn(data: *mut c_void, bytes: ssize_t) -> ngx_int_t>
input_filter_ctx: *mut c_void
create_key: Option<unsafe extern "C" fn(r: *mut ngx_http_request_t) -> ngx_int_t>
create_request: Option<unsafe extern "C" fn(r: *mut ngx_http_request_t) -> ngx_int_t>
reinit_request: Option<unsafe extern "C" fn(r: *mut ngx_http_request_t) -> ngx_int_t>
process_header: Option<unsafe extern "C" fn(r: *mut ngx_http_request_t) -> ngx_int_t>
abort_request: Option<unsafe extern "C" fn(r: *mut ngx_http_request_t)>
finalize_request: Option<unsafe extern "C" fn(r: *mut ngx_http_request_t, rc: ngx_int_t)>
rewrite_redirect: Option<unsafe extern "C" fn(r: *mut ngx_http_request_t, h: *mut ngx_table_elt_t, prefix: size_t) -> ngx_int_t>
start_time: ngx_msec_t
state: *mut ngx_http_upstream_state_t
method: ngx_str_t
schema: ngx_str_t
uri: ngx_str_t
ssl_name: ngx_str_t
cleanup: *mut ngx_http_cleanup_pt
_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>
__bindgen_padding_0: [u16; 3]
Implementations
impl ngx_http_upstream_s
[src]
pub fn store(&self) -> c_uint
[src]
pub fn set_store(&mut self, val: c_uint)
[src]
pub fn cacheable(&self) -> c_uint
[src]
pub fn set_cacheable(&mut self, val: c_uint)
[src]
pub fn accel(&self) -> c_uint
[src]
pub fn set_accel(&mut self, val: c_uint)
[src]
pub fn ssl(&self) -> c_uint
[src]
pub fn set_ssl(&mut self, val: c_uint)
[src]
pub fn cache_status(&self) -> c_uint
[src]
pub fn set_cache_status(&mut self, val: c_uint)
[src]
pub fn buffering(&self) -> c_uint
[src]
pub fn set_buffering(&mut self, val: c_uint)
[src]
pub fn keepalive(&self) -> c_uint
[src]
pub fn set_keepalive(&mut self, val: c_uint)
[src]
pub fn upgrade(&self) -> c_uint
[src]
pub fn set_upgrade(&mut self, val: c_uint)
[src]
pub fn error(&self) -> c_uint
[src]
pub fn set_error(&mut self, val: c_uint)
[src]
pub fn request_sent(&self) -> c_uint
[src]
pub fn set_request_sent(&mut self, val: c_uint)
[src]
pub fn request_body_sent(&self) -> c_uint
[src]
pub fn set_request_body_sent(&mut self, val: c_uint)
[src]
pub fn request_body_blocked(&self) -> c_uint
[src]
pub fn set_request_body_blocked(&mut self, val: c_uint)
[src]
pub fn header_sent(&self) -> c_uint
[src]
pub fn set_header_sent(&mut self, val: c_uint)
[src]
pub fn new_bitfield_1(
store: c_uint,
cacheable: c_uint,
accel: c_uint,
ssl: c_uint,
cache_status: c_uint,
buffering: c_uint,
keepalive: c_uint,
upgrade: c_uint,
error: c_uint,
request_sent: c_uint,
request_body_sent: c_uint,
request_body_blocked: c_uint,
header_sent: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]
store: c_uint,
cacheable: c_uint,
accel: c_uint,
ssl: c_uint,
cache_status: c_uint,
buffering: c_uint,
keepalive: c_uint,
upgrade: c_uint,
error: c_uint,
request_sent: c_uint,
request_body_sent: c_uint,
request_body_blocked: c_uint,
header_sent: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
Trait Implementations
impl Clone for ngx_http_upstream_s
[src]
fn clone(&self) -> ngx_http_upstream_s
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ngx_http_upstream_s
[src]
impl Debug for ngx_http_upstream_s
[src]
Auto Trait Implementations
impl RefUnwindSafe for ngx_http_upstream_s
impl !Send for ngx_http_upstream_s
impl !Sync for ngx_http_upstream_s
impl Unpin for ngx_http_upstream_s
impl UnwindSafe for ngx_http_upstream_s
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,