[][src]Struct nginx::ngx_event_pipe_s

#[repr(C)]pub struct ngx_event_pipe_s {
    pub upstream: *mut ngx_connection_t,
    pub downstream: *mut ngx_connection_t,
    pub free_raw_bufs: *mut ngx_chain_t,
    pub in_: *mut ngx_chain_t,
    pub last_in: *mut *mut ngx_chain_t,
    pub writing: *mut ngx_chain_t,
    pub out: *mut ngx_chain_t,
    pub free: *mut ngx_chain_t,
    pub busy: *mut ngx_chain_t,
    pub input_filter: ngx_event_pipe_input_filter_pt,
    pub input_ctx: *mut c_void,
    pub output_filter: ngx_event_pipe_output_filter_pt,
    pub output_ctx: *mut c_void,
    pub thread_handler: Option<unsafe extern "C" fn(task: *mut ngx_thread_task_t, file: *mut ngx_file_t) -> ngx_int_t>,
    pub thread_ctx: *mut c_void,
    pub thread_task: *mut ngx_thread_task_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub allocated: ngx_int_t,
    pub bufs: ngx_bufs_t,
    pub tag: ngx_buf_tag_t,
    pub busy_size: ssize_t,
    pub read_length: off_t,
    pub length: off_t,
    pub max_temp_file_size: off_t,
    pub temp_file_write_size: ssize_t,
    pub read_timeout: ngx_msec_t,
    pub send_timeout: ngx_msec_t,
    pub send_lowat: ssize_t,
    pub pool: *mut ngx_pool_t,
    pub log: *mut ngx_log_t,
    pub preread_bufs: *mut ngx_chain_t,
    pub preread_size: size_t,
    pub buf_to_file: *mut ngx_buf_t,
    pub limit_rate: size_t,
    pub start_sec: time_t,
    pub temp_file: *mut ngx_temp_file_t,
    pub num: c_int,
}

Fields

upstream: *mut ngx_connection_tdownstream: *mut ngx_connection_tfree_raw_bufs: *mut ngx_chain_tin_: *mut ngx_chain_tlast_in: *mut *mut ngx_chain_twriting: *mut ngx_chain_tout: *mut ngx_chain_tfree: *mut ngx_chain_tbusy: *mut ngx_chain_tinput_filter: ngx_event_pipe_input_filter_ptinput_ctx: *mut c_voidoutput_filter: ngx_event_pipe_output_filter_ptoutput_ctx: *mut c_voidthread_handler: Option<unsafe extern "C" fn(task: *mut ngx_thread_task_t, file: *mut ngx_file_t) -> ngx_int_t>thread_ctx: *mut c_voidthread_task: *mut ngx_thread_task_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>allocated: ngx_int_tbufs: ngx_bufs_ttag: ngx_buf_tag_tbusy_size: ssize_tread_length: off_tlength: off_tmax_temp_file_size: off_ttemp_file_write_size: ssize_tread_timeout: ngx_msec_tsend_timeout: ngx_msec_tsend_lowat: ssize_tpool: *mut ngx_pool_tlog: *mut ngx_log_tpreread_bufs: *mut ngx_chain_tpreread_size: size_tbuf_to_file: *mut ngx_buf_tlimit_rate: size_tstart_sec: time_ttemp_file: *mut ngx_temp_file_tnum: c_int

Implementations

impl ngx_event_pipe_s[src]

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

pub fn set_read(&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 single_buf(&self) -> c_uint[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    read: c_uint,
    cacheable: c_uint,
    single_buf: c_uint,
    free_bufs: c_uint,
    upstream_done: c_uint,
    upstream_error: c_uint,
    upstream_eof: c_uint,
    upstream_blocked: c_uint,
    downstream_done: c_uint,
    downstream_error: c_uint,
    cyclic_temp_file: c_uint,
    aio: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_event_pipe_s[src]

impl Copy for ngx_event_pipe_s[src]

impl Debug for ngx_event_pipe_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_event_pipe_s

impl !Send for ngx_event_pipe_s

impl !Sync for ngx_event_pipe_s

impl Unpin for ngx_event_pipe_s

impl UnwindSafe for ngx_event_pipe_s

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.