[][src]Struct nginx::ngx_open_file_info_t

#[repr(C)]pub struct ngx_open_file_info_t {
    pub fd: ngx_fd_t,
    pub uniq: ngx_file_uniq_t,
    pub mtime: time_t,
    pub size: off_t,
    pub fs_size: off_t,
    pub directio: off_t,
    pub read_ahead: size_t,
    pub err: ngx_err_t,
    pub failed: *mut c_char,
    pub valid: time_t,
    pub min_uses: ngx_uint_t,
    pub disable_symlinks_from: size_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub __bindgen_padding_0: [u16; 3],
}

Fields

fd: ngx_fd_tuniq: ngx_file_uniq_tmtime: time_tsize: off_tfs_size: off_tdirectio: off_tread_ahead: size_terr: ngx_err_tfailed: *mut c_charvalid: time_tmin_uses: ngx_uint_tdisable_symlinks_from: size_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>__bindgen_padding_0: [u16; 3]

Implementations

impl ngx_open_file_info_t[src]

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

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

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

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

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

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

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

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

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

pub fn set_events(&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,
    test_dir: c_uint,
    test_only: c_uint,
    log: c_uint,
    errors: c_uint,
    events: c_uint,
    is_dir: c_uint,
    is_file: c_uint,
    is_link: c_uint,
    is_exec: c_uint,
    is_directio: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_open_file_info_t[src]

impl Copy for ngx_open_file_info_t[src]

impl Debug for ngx_open_file_info_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_open_file_info_t

impl !Send for ngx_open_file_info_t

impl !Sync for ngx_open_file_info_t

impl Unpin for ngx_open_file_info_t

impl UnwindSafe for ngx_open_file_info_t

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.