[][src]Struct nginx::ngx_output_chain_ctx_s

#[repr(C)]pub struct ngx_output_chain_ctx_s {
    pub buf: *mut ngx_buf_t,
    pub in_: *mut ngx_chain_t,
    pub free: *mut ngx_chain_t,
    pub busy: *mut ngx_chain_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub aio_handler: ngx_output_chain_aio_pt,
    pub aio_preload: Option<unsafe extern "C" fn(file: *mut ngx_buf_t) -> ssize_t>,
    pub thread_handler: Option<unsafe extern "C" fn(task: *mut ngx_thread_task_t, file: *mut ngx_file_t) -> ngx_int_t>,
    pub thread_task: *mut ngx_thread_task_t,
    pub alignment: off_t,
    pub pool: *mut ngx_pool_t,
    pub allocated: ngx_int_t,
    pub bufs: ngx_bufs_t,
    pub tag: ngx_buf_tag_t,
    pub output_filter: ngx_output_chain_filter_pt,
    pub filter_ctx: *mut c_void,
}

Fields

buf: *mut ngx_buf_tin_: *mut ngx_chain_tfree: *mut ngx_chain_tbusy: *mut ngx_chain_t_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>aio_handler: ngx_output_chain_aio_ptaio_preload: Option<unsafe extern "C" fn(file: *mut ngx_buf_t) -> ssize_t>thread_handler: Option<unsafe extern "C" fn(task: *mut ngx_thread_task_t, file: *mut ngx_file_t) -> ngx_int_t>thread_task: *mut ngx_thread_task_talignment: off_tpool: *mut ngx_pool_tallocated: ngx_int_tbufs: ngx_bufs_ttag: ngx_buf_tag_toutput_filter: ngx_output_chain_filter_ptfilter_ctx: *mut c_void

Implementations

impl ngx_output_chain_ctx_s[src]

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

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

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

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

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

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

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

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

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

pub fn set_need_in_temp(&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(
    sendfile: c_uint,
    directio: c_uint,
    unaligned: c_uint,
    need_in_memory: c_uint,
    need_in_temp: c_uint,
    aio: c_uint
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for ngx_output_chain_ctx_s[src]

impl Copy for ngx_output_chain_ctx_s[src]

impl Debug for ngx_output_chain_ctx_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_output_chain_ctx_s

impl !Send for ngx_output_chain_ctx_s

impl !Sync for ngx_output_chain_ctx_s

impl Unpin for ngx_output_chain_ctx_s

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