[][src]Struct nginx::ngx_http_cache_s

#[repr(C)]pub struct ngx_http_cache_s {
    pub file: ngx_file_t,
    pub keys: ngx_array_t,
    pub crc32: u32,
    pub key: [u_char; 16],
    pub main: [u_char; 16],
    pub uniq: ngx_file_uniq_t,
    pub valid_sec: time_t,
    pub updating_sec: time_t,
    pub error_sec: time_t,
    pub last_modified: time_t,
    pub date: time_t,
    pub etag: ngx_str_t,
    pub vary: ngx_str_t,
    pub variant: [u_char; 16],
    pub buffer_size: size_t,
    pub header_start: size_t,
    pub body_start: size_t,
    pub length: off_t,
    pub fs_size: off_t,
    pub min_uses: ngx_uint_t,
    pub error: ngx_uint_t,
    pub valid_msec: ngx_uint_t,
    pub vary_tag: ngx_uint_t,
    pub buf: *mut ngx_buf_t,
    pub file_cache: *mut ngx_http_file_cache_t,
    pub node: *mut ngx_http_file_cache_node_t,
    pub thread_task: *mut ngx_thread_task_t,
    pub lock_timeout: ngx_msec_t,
    pub lock_age: ngx_msec_t,
    pub lock_time: ngx_msec_t,
    pub wait_time: ngx_msec_t,
    pub wait_event: ngx_event_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub __bindgen_padding_0: [u16; 3],
}

Fields

file: ngx_file_tkeys: ngx_array_tcrc32: u32key: [u_char; 16]main: [u_char; 16]uniq: ngx_file_uniq_tvalid_sec: time_tupdating_sec: time_terror_sec: time_tlast_modified: time_tdate: time_tetag: ngx_str_tvary: ngx_str_tvariant: [u_char; 16]buffer_size: size_theader_start: size_tbody_start: size_tlength: off_tfs_size: off_tmin_uses: ngx_uint_terror: ngx_uint_tvalid_msec: ngx_uint_tvary_tag: ngx_uint_tbuf: *mut ngx_buf_tfile_cache: *mut ngx_http_file_cache_tnode: *mut ngx_http_file_cache_node_tthread_task: *mut ngx_thread_task_tlock_timeout: ngx_msec_tlock_age: ngx_msec_tlock_time: ngx_msec_twait_time: ngx_msec_twait_event: ngx_event_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>__bindgen_padding_0: [u16; 3]

Implementations

impl ngx_http_cache_s[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    lock: c_uint,
    waiting: c_uint,
    updated: c_uint,
    updating: c_uint,
    exists: c_uint,
    temp_file: c_uint,
    purged: c_uint,
    reading: c_uint,
    secondary: c_uint,
    update_variant: c_uint,
    background: c_uint,
    stale_updating: c_uint,
    stale_error: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_http_cache_s[src]

impl Copy for ngx_http_cache_s[src]

impl Debug for ngx_http_cache_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_http_cache_s

impl !Send for ngx_http_cache_s

impl !Sync for ngx_http_cache_s

impl Unpin for ngx_http_cache_s

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