[−][src]Struct nginx::ngx_http_cache_s
Fields
file: ngx_file_t
keys: ngx_array_t
crc32: u32
key: [u_char; 16]
main: [u_char; 16]
uniq: ngx_file_uniq_t
valid_sec: time_t
updating_sec: time_t
error_sec: time_t
last_modified: time_t
date: time_t
etag: ngx_str_t
vary: ngx_str_t
variant: [u_char; 16]
buffer_size: size_t
header_start: size_t
body_start: size_t
length: off_t
fs_size: off_t
min_uses: ngx_uint_t
error: ngx_uint_t
valid_msec: ngx_uint_t
vary_tag: ngx_uint_t
buf: *mut ngx_buf_t
file_cache: *mut ngx_http_file_cache_t
node: *mut ngx_http_file_cache_node_t
thread_task: *mut ngx_thread_task_t
lock_timeout: ngx_msec_t
lock_age: ngx_msec_t
lock_time: ngx_msec_t
wait_time: ngx_msec_t
wait_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]
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>
Trait Implementations
impl Clone for ngx_http_cache_s
[src]
fn clone(&self) -> ngx_http_cache_s
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
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>,