[][src]Struct nginx::ngx_temp_file_t

#[repr(C)]pub struct ngx_temp_file_t {
    pub file: ngx_file_t,
    pub offset: off_t,
    pub path: *mut ngx_path_t,
    pub pool: *mut ngx_pool_t,
    pub warn: *mut c_char,
    pub access: ngx_uint_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub __bindgen_padding_0: [u16; 3],
}

Fields

file: ngx_file_toffset: off_tpath: *mut ngx_path_tpool: *mut ngx_pool_twarn: *mut c_characcess: ngx_uint_t_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>__bindgen_padding_0: [u16; 3]

Implementations

impl ngx_temp_file_t[src]

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    log_level: c_uint,
    persistent: c_uint,
    clean: c_uint,
    thread_write: c_uint
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for ngx_temp_file_t[src]

impl Copy for ngx_temp_file_t[src]

impl Debug for ngx_temp_file_t[src]

Auto Trait Implementations

impl RefUnwindSafe for ngx_temp_file_t

impl !Send for ngx_temp_file_t

impl !Sync for ngx_temp_file_t

impl Unpin for ngx_temp_file_t

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