[][src]Struct nginx::ngx_cached_open_file_s

#[repr(C)]pub struct ngx_cached_open_file_s {
    pub node: ngx_rbtree_node_t,
    pub queue: ngx_queue_t,
    pub name: *mut u_char,
    pub created: time_t,
    pub accessed: time_t,
    pub fd: ngx_fd_t,
    pub uniq: ngx_file_uniq_t,
    pub mtime: time_t,
    pub size: off_t,
    pub err: ngx_err_t,
    pub uses: u32,
    pub disable_symlinks_from: size_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>,
    pub event: *mut ngx_event_t,
}

Fields

node: ngx_rbtree_node_tqueue: ngx_queue_tname: *mut u_charcreated: time_taccessed: time_tfd: ngx_fd_tuniq: ngx_file_uniq_tmtime: time_tsize: off_terr: ngx_err_tuses: u32disable_symlinks_from: size_t_bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>event: *mut ngx_event_t

Implementations

impl ngx_cached_open_file_s[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    disable_symlinks: c_uint,
    count: c_uint,
    close: c_uint,
    use_event: c_uint,
    is_dir: c_uint,
    is_file: c_uint,
    is_link: c_uint,
    is_exec: c_uint,
    is_directio: c_uint
) -> __BindgenBitfieldUnit<[u8; 8], u32>
[src]

Trait Implementations

impl Clone for ngx_cached_open_file_s[src]

impl Copy for ngx_cached_open_file_s[src]

impl Debug for ngx_cached_open_file_s[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_cached_open_file_s

impl !Send for ngx_cached_open_file_s

impl !Sync for ngx_cached_open_file_s

impl Unpin for ngx_cached_open_file_s

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