#[repr(C)]pub struct ngx_open_file_info_t {Show 15 fields
pub fd: i32,
pub uniq: u64,
pub mtime: i64,
pub size: i64,
pub fs_size: i64,
pub directio: i64,
pub read_ahead: usize,
pub err: i32,
pub failed: *mut i8,
pub valid: i64,
pub min_uses: usize,
pub disable_symlinks_from: usize,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
pub __bindgen_padding_0: [u16; 3],
}
Fields§
§fd: i32
§uniq: u64
§mtime: i64
§size: i64
§fs_size: i64
§directio: i64
§read_ahead: usize
§err: i32
§failed: *mut i8
§valid: i64
§min_uses: usize
§disable_symlinks_from: usize
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>
§__bindgen_padding_0: [u16; 3]
Implementations§
Source§impl ngx_open_file_info_t
impl ngx_open_file_info_t
pub fn disable_symlinks(&self) -> u32
pub fn set_disable_symlinks(&mut self, val: u32)
pub unsafe fn disable_symlinks_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_disable_symlinks_raw( this: *mut ngx_open_file_info_t, val: u32, )
pub fn test_dir(&self) -> u32
pub fn set_test_dir(&mut self, val: u32)
pub unsafe fn test_dir_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_test_dir_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn test_only(&self) -> u32
pub fn set_test_only(&mut self, val: u32)
pub unsafe fn test_only_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_test_only_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn log(&self) -> u32
pub fn set_log(&mut self, val: u32)
pub unsafe fn log_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_log_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn errors(&self) -> u32
pub fn set_errors(&mut self, val: u32)
pub unsafe fn errors_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_errors_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn events(&self) -> u32
pub fn set_events(&mut self, val: u32)
pub unsafe fn events_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_events_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn is_dir(&self) -> u32
pub fn set_is_dir(&mut self, val: u32)
pub unsafe fn is_dir_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_is_dir_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn is_file(&self) -> u32
pub fn set_is_file(&mut self, val: u32)
pub unsafe fn is_file_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_is_file_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn is_link(&self) -> u32
pub fn set_is_link(&mut self, val: u32)
pub unsafe fn is_link_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_is_link_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn is_exec(&self) -> u32
pub fn set_is_exec(&mut self, val: u32)
pub unsafe fn is_exec_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_is_exec_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn is_directio(&self) -> u32
pub fn set_is_directio(&mut self, val: u32)
pub unsafe fn is_directio_raw(this: *const ngx_open_file_info_t) -> u32
pub unsafe fn set_is_directio_raw(this: *mut ngx_open_file_info_t, val: u32)
pub fn new_bitfield_1( disable_symlinks: u32, test_dir: u32, test_only: u32, log: u32, errors: u32, events: u32, is_dir: u32, is_file: u32, is_link: u32, is_exec: u32, is_directio: u32, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for ngx_open_file_info_t
impl Clone for ngx_open_file_info_t
Source§fn clone(&self) -> ngx_open_file_info_t
fn clone(&self) -> ngx_open_file_info_t
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ngx_open_file_info_t
impl Debug for ngx_open_file_info_t
impl Copy for ngx_open_file_info_t
Auto Trait Implementations§
impl Freeze for ngx_open_file_info_t
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more