[][src]Struct nginx::ngx_buf_s

#[repr(C)]pub struct ngx_buf_s {
    pub pos: *mut u_char,
    pub last: *mut u_char,
    pub file_pos: off_t,
    pub file_last: off_t,
    pub start: *mut u_char,
    pub end: *mut u_char,
    pub tag: ngx_buf_tag_t,
    pub file: *mut ngx_file_t,
    pub shadow: *mut ngx_buf_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub num: c_int,
}

Fields

pos: *mut u_charlast: *mut u_charfile_pos: off_tfile_last: off_tstart: *mut u_charend: *mut u_chartag: ngx_buf_tag_tfile: *mut ngx_file_tshadow: *mut ngx_buf_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>num: c_int

Implementations

impl ngx_buf_s[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    temporary: c_uint,
    memory: c_uint,
    mmap: c_uint,
    recycled: c_uint,
    in_file: c_uint,
    flush: c_uint,
    sync: c_uint,
    last_buf: c_uint,
    last_in_chain: c_uint,
    last_shadow: c_uint,
    temp_file: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_buf_s[src]

impl Copy for ngx_buf_s[src]

impl Debug for ngx_buf_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_buf_s

impl !Send for ngx_buf_s

impl !Sync for ngx_buf_s

impl Unpin for ngx_buf_s

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